GraphExecutionTrace

public final class GraphExecutionTrace

 Data relating to an execution of a Graph (e.g., an eager execution of a
 FuncGraph).
 The values of the intermediate tensors computed in the graph are recorded
 in this proto. A graph execution may correspond to one or more pieces of
 `GraphExecutionTrace`, depending on whether the instrumented tensor values
 are summarized in an aggregated or separate fashion.
 
Protobuf type tensorflow.GraphExecutionTrace

Nested Classes

class GraphExecutionTrace.Builder
 Data relating to an execution of a Graph (e.g., an eager execution of a
 FuncGraph). 

Constants

int DEVICE_NAME_FIELD_NUMBER
int OP_NAME_FIELD_NUMBER
int OUTPUT_SLOT_FIELD_NUMBER
int TENSOR_DEBUG_MODE_FIELD_NUMBER
int TENSOR_PROTO_FIELD_NUMBER
int TFDBG_CONTEXT_ID_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
static GraphExecutionTrace
GraphExecutionTrace
final static com.google.protobuf.Descriptors.Descriptor
String
getDeviceName()
 Name of the device that the op belongs to.
com.google.protobuf.ByteString
getDeviceNameBytes()
 Name of the device that the op belongs to.
String
getOpName()
 Name of the op (applicable only in the case of the `FULL_TENSOR` trace
 level).
com.google.protobuf.ByteString
getOpNameBytes()
 Name of the op (applicable only in the case of the `FULL_TENSOR` trace
 level).
int
getOutputSlot()
 Output slot of the tensor (applicable only in the case of the `FULL_TENSOR`
 trace level).
int
TensorDebugMode
getTensorDebugMode()
 Type of the tensor value encapsulated in this proto.
int
getTensorDebugModeValue()
 Type of the tensor value encapsulated in this proto.
TensorProto
getTensorProto()
 Tensor value in the type described by `tensor_value_type`.
TensorProtoOrBuilder
getTensorProtoOrBuilder()
 Tensor value in the type described by `tensor_value_type`.
String
getTfdbgContextId()
 Unique ID of the context that the executed op(s) belong to (e.g., a
 compiled concrete tf.function).
com.google.protobuf.ByteString
getTfdbgContextIdBytes()
 Unique ID of the context that the executed op(s) belong to (e.g., a
 compiled concrete tf.function).
final com.google.protobuf.UnknownFieldSet
boolean
hasTensorProto()
 Tensor value in the type described by `tensor_value_type`.
int
final boolean
static GraphExecutionTrace.Builder
static GraphExecutionTrace.Builder
GraphExecutionTrace.Builder
static GraphExecutionTrace
parseDelimitedFrom(InputStream input)
static GraphExecutionTrace
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GraphExecutionTrace
parseFrom(ByteBuffer data)
static GraphExecutionTrace
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GraphExecutionTrace
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GraphExecutionTrace
parseFrom(com.google.protobuf.CodedInputStream input)
static GraphExecutionTrace
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GraphExecutionTrace
parseFrom(com.google.protobuf.ByteString data)
static GraphExecutionTrace
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GraphExecutionTrace
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
GraphExecutionTrace.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int DEVICE_NAME_FIELD_NUMBER

Constant Value: 6

public static final int OP_NAME_FIELD_NUMBER

Constant Value: 2

public static final int OUTPUT_SLOT_FIELD_NUMBER

Constant Value: 3

public static final int TENSOR_DEBUG_MODE_FIELD_NUMBER

Constant Value: 4

public static final int TENSOR_PROTO_FIELD_NUMBER

Constant Value: 5

public static final int TFDBG_CONTEXT_ID_FIELD_NUMBER

Constant Value: 1

Public Methods

public boolean equals (Object obj)

public static GraphExecutionTrace getDefaultInstance ()

public GraphExecutionTrace getDefaultInstanceForType ()

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

public String getDeviceName ()

 Name of the device that the op belongs to.
 
string device_name = 6;

public com.google.protobuf.ByteString getDeviceNameBytes ()

 Name of the device that the op belongs to.
 
string device_name = 6;

public String getOpName ()

 Name of the op (applicable only in the case of the `FULL_TENSOR` trace
 level).
 
string op_name = 2;

public com.google.protobuf.ByteString getOpNameBytes ()

 Name of the op (applicable only in the case of the `FULL_TENSOR` trace
 level).
 
string op_name = 2;

public int getOutputSlot ()

 Output slot of the tensor (applicable only in the case of the `FULL_TENSOR`
 trace level).
 
int32 output_slot = 3;

public getParserForType ()

public int getSerializedSize ()

public TensorDebugMode getTensorDebugMode ()

 Type of the tensor value encapsulated in this proto.
 
.tensorflow.TensorDebugMode tensor_debug_mode = 4;

public int getTensorDebugModeValue ()

 Type of the tensor value encapsulated in this proto.
 
.tensorflow.TensorDebugMode tensor_debug_mode = 4;

public TensorProto getTensorProto ()

 Tensor value in the type described by `tensor_value_type`.
 This tensor may summarize the value of a single intermediate op of the
 graph, or those of multiple intermediate tensors.
 
.tensorflow.TensorProto tensor_proto = 5;

public TensorProtoOrBuilder getTensorProtoOrBuilder ()

 Tensor value in the type described by `tensor_value_type`.
 This tensor may summarize the value of a single intermediate op of the
 graph, or those of multiple intermediate tensors.
 
.tensorflow.TensorProto tensor_proto = 5;

public String getTfdbgContextId ()

 Unique ID of the context that the executed op(s) belong to (e.g., a
 compiled concrete tf.function).
 
string tfdbg_context_id = 1;

public com.google.protobuf.ByteString getTfdbgContextIdBytes ()

 Unique ID of the context that the executed op(s) belong to (e.g., a
 compiled concrete tf.function).
 
string tfdbg_context_id = 1;

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

public boolean hasTensorProto ()

 Tensor value in the type described by `tensor_value_type`.
 This tensor may summarize the value of a single intermediate op of the
 graph, or those of multiple intermediate tensors.
 
.tensorflow.TensorProto tensor_proto = 5;

public int hashCode ()

public final boolean isInitialized ()

public static GraphExecutionTrace.Builder newBuilder (GraphExecutionTrace prototype)

public static GraphExecutionTrace.Builder newBuilder ()

public GraphExecutionTrace.Builder newBuilderForType ()

public static GraphExecutionTrace parseDelimitedFrom (InputStream input)

Throws
IOException

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

Throws
IOException

public static GraphExecutionTrace parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

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

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

public static parser ()

public GraphExecutionTrace.Builder toBuilder ()

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

Throws
IOException