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
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 ()