GraphOpCreation

public final class GraphOpCreation

 The creation of an op in a TensorFlow Graph (e.g., FuncGraph in TF2).
 
Protobuf type tensorflow.GraphOpCreation

Nested Classes

class GraphOpCreation.Builder
 The creation of an op in a TensorFlow Graph (e.g., FuncGraph in TF2). 

Constants

int CODE_LOCATION_FIELD_NUMBER
int DEVICE_NAME_FIELD_NUMBER
int GRAPH_ID_FIELD_NUMBER
int GRAPH_NAME_FIELD_NUMBER
int INPUT_NAMES_FIELD_NUMBER
int NUM_OUTPUTS_FIELD_NUMBER
int OP_NAME_FIELD_NUMBER
int OP_TYPE_FIELD_NUMBER
int OUTPUT_TENSOR_IDS_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
CodeLocation
getCodeLocation()
 The unique ID for code location (stack trace) of the op's creation.
CodeLocationOrBuilder
getCodeLocationOrBuilder()
 The unique ID for code location (stack trace) of the op's creation.
static GraphOpCreation
GraphOpCreation
final static com.google.protobuf.Descriptors.Descriptor
String
getDeviceName()
 Name of the device that the op is assigned to (if available).
com.google.protobuf.ByteString
getDeviceNameBytes()
 Name of the device that the op is assigned to (if available).
String
getGraphId()
 Unique ID of the graph (generated by debugger).
com.google.protobuf.ByteString
getGraphIdBytes()
 Unique ID of the graph (generated by debugger).
String
getGraphName()
 Name of the graph that the op is a part of (if available).
com.google.protobuf.ByteString
getGraphNameBytes()
 Name of the graph that the op is a part of (if available).
String
getInputNames(int index)
 Names of the input tensors to the op.
com.google.protobuf.ByteString
getInputNamesBytes(int index)
 Names of the input tensors to the op.
int
getInputNamesCount()
 Names of the input tensors to the op.
com.google.protobuf.ProtocolStringList
getInputNamesList()
 Names of the input tensors to the op.
int
getNumOutputs()
 Number of output tensors emitted by the op.
String
getOpName()
 Name of the op (e.g., "Dense/MatMul_1").
com.google.protobuf.ByteString
getOpNameBytes()
 Name of the op (e.g., "Dense/MatMul_1").
String
getOpType()
 Type of the op (e.g., "MatMul").
com.google.protobuf.ByteString
getOpTypeBytes()
 Type of the op (e.g., "MatMul").
int
getOutputTensorIds(int index)
 Unique IDs for the output tensors of this op.
int
getOutputTensorIdsCount()
 Unique IDs for the output tensors of this op.
List<Integer>
getOutputTensorIdsList()
 Unique IDs for the output tensors of this op.
int
final com.google.protobuf.UnknownFieldSet
boolean
hasCodeLocation()
 The unique ID for code location (stack trace) of the op's creation.
int
final boolean
static GraphOpCreation.Builder
static GraphOpCreation.Builder
GraphOpCreation.Builder
static GraphOpCreation
parseDelimitedFrom(InputStream input)
static GraphOpCreation
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GraphOpCreation
parseFrom(ByteBuffer data)
static GraphOpCreation
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GraphOpCreation
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GraphOpCreation
parseFrom(com.google.protobuf.CodedInputStream input)
static GraphOpCreation
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GraphOpCreation
parseFrom(com.google.protobuf.ByteString data)
static GraphOpCreation
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GraphOpCreation
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
GraphOpCreation.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int CODE_LOCATION_FIELD_NUMBER

Constant Value: 8

public static final int DEVICE_NAME_FIELD_NUMBER

Constant Value: 5

public static final int GRAPH_ID_FIELD_NUMBER

Constant Value: 4

public static final int GRAPH_NAME_FIELD_NUMBER

Constant Value: 3

public static final int INPUT_NAMES_FIELD_NUMBER

Constant Value: 6

public static final int NUM_OUTPUTS_FIELD_NUMBER

Constant Value: 7

public static final int OP_NAME_FIELD_NUMBER

Constant Value: 2

public static final int OP_TYPE_FIELD_NUMBER

Constant Value: 1

public static final int OUTPUT_TENSOR_IDS_FIELD_NUMBER

Constant Value: 9

Public Methods

public boolean equals (Object obj)

public CodeLocation getCodeLocation ()

 The unique ID for code location (stack trace) of the op's creation.
 
.tensorflow.CodeLocation code_location = 8;

public CodeLocationOrBuilder getCodeLocationOrBuilder ()

 The unique ID for code location (stack trace) of the op's creation.
 
.tensorflow.CodeLocation code_location = 8;

public static GraphOpCreation getDefaultInstance ()

public GraphOpCreation getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public String getDeviceName ()

 Name of the device that the op is assigned to (if available).
 
string device_name = 5;

public com.google.protobuf.ByteString getDeviceNameBytes ()

 Name of the device that the op is assigned to (if available).
 
string device_name = 5;

public String getGraphId ()

 Unique ID of the graph (generated by debugger).
 This is the ID of the immediately-enclosing graph.
 
string graph_id = 4;

public com.google.protobuf.ByteString getGraphIdBytes ()

 Unique ID of the graph (generated by debugger).
 This is the ID of the immediately-enclosing graph.
 
string graph_id = 4;

public String getGraphName ()

 Name of the graph that the op is a part of (if available).
 
string graph_name = 3;

public com.google.protobuf.ByteString getGraphNameBytes ()

 Name of the graph that the op is a part of (if available).
 
string graph_name = 3;

public String getInputNames (int index)

 Names of the input tensors to the op.
 
repeated string input_names = 6;

public com.google.protobuf.ByteString getInputNamesBytes (int index)

 Names of the input tensors to the op.
 
repeated string input_names = 6;

public int getInputNamesCount ()

 Names of the input tensors to the op.
 
repeated string input_names = 6;

public com.google.protobuf.ProtocolStringList getInputNamesList ()

 Names of the input tensors to the op.
 
repeated string input_names = 6;

public int getNumOutputs ()

 Number of output tensors emitted by the op.
 
int32 num_outputs = 7;

public String getOpName ()

 Name of the op (e.g., "Dense/MatMul_1").
 
string op_name = 2;

public com.google.protobuf.ByteString getOpNameBytes ()

 Name of the op (e.g., "Dense/MatMul_1").
 
string op_name = 2;

public String getOpType ()

 Type of the op (e.g., "MatMul").
 
string op_type = 1;

public com.google.protobuf.ByteString getOpTypeBytes ()

 Type of the op (e.g., "MatMul").
 
string op_type = 1;

public int getOutputTensorIds (int index)

 Unique IDs for the output tensors of this op.
 
repeated int32 output_tensor_ids = 9;

public int getOutputTensorIdsCount ()

 Unique IDs for the output tensors of this op.
 
repeated int32 output_tensor_ids = 9;

public List<Integer> getOutputTensorIdsList ()

 Unique IDs for the output tensors of this op.
 
repeated int32 output_tensor_ids = 9;

public getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public boolean hasCodeLocation ()

 The unique ID for code location (stack trace) of the op's creation.
 
.tensorflow.CodeLocation code_location = 8;

public int hashCode ()

public final boolean isInitialized ()

public static GraphOpCreation.Builder newBuilder (GraphOpCreation prototype)

public static GraphOpCreation.Builder newBuilder ()

public GraphOpCreation.Builder newBuilderForType ()

public static GraphOpCreation parseDelimitedFrom (InputStream input)

Throws
IOException

public static GraphOpCreation parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static GraphOpCreation parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static GraphOpCreation parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static GraphOpCreation parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static GraphOpCreation parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static GraphOpCreation parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static GraphOpCreation parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static GraphOpCreation parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static GraphOpCreation parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public GraphOpCreation.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException