Package org.platanios.tensorflow.proto
Interface GraphExecutionTraceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GraphExecutionTrace
,GraphExecutionTrace.Builder
public interface GraphExecutionTraceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.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.java.lang.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).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`.java.lang.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).boolean
hasTensorProto()
Tensor value in the type described by `tensor_value_type`.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTfdbgContextId
java.lang.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;
- Returns:
- The tfdbgContextId.
-
getTfdbgContextIdBytes
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;
- Returns:
- The bytes for tfdbgContextId.
-
getOpName
java.lang.String getOpName()
Name of the op (applicable only in the case of the `FULL_TENSOR` trace level).
string op_name = 2;
- Returns:
- The opName.
-
getOpNameBytes
com.google.protobuf.ByteString getOpNameBytes()
Name of the op (applicable only in the case of the `FULL_TENSOR` trace level).
string op_name = 2;
- Returns:
- The bytes for opName.
-
getOutputSlot
int getOutputSlot()
Output slot of the tensor (applicable only in the case of the `FULL_TENSOR` trace level).
int32 output_slot = 3;
- Returns:
- The outputSlot.
-
getTensorDebugModeValue
int getTensorDebugModeValue()
Type of the tensor value encapsulated in this proto.
.org.platanios.tensorflow.proto.TensorDebugMode tensor_debug_mode = 4;
- Returns:
- The enum numeric value on the wire for tensorDebugMode.
-
getTensorDebugMode
TensorDebugMode getTensorDebugMode()
Type of the tensor value encapsulated in this proto.
.org.platanios.tensorflow.proto.TensorDebugMode tensor_debug_mode = 4;
- Returns:
- The tensorDebugMode.
-
hasTensorProto
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.
.org.platanios.tensorflow.proto.TensorProto tensor_proto = 5;
- Returns:
- Whether the tensorProto field is set.
-
getTensorProto
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.
.org.platanios.tensorflow.proto.TensorProto tensor_proto = 5;
- Returns:
- The tensorProto.
-
getTensorProtoOrBuilder
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.
.org.platanios.tensorflow.proto.TensorProto tensor_proto = 5;
-
getDeviceName
java.lang.String getDeviceName()
Name of the device that the op belongs to.
string device_name = 6;
- Returns:
- The deviceName.
-
getDeviceNameBytes
com.google.protobuf.ByteString getDeviceNameBytes()
Name of the device that the op belongs to.
string device_name = 6;
- Returns:
- The bytes for deviceName.
-
-