Interface ExecutionOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
Execution, Execution.Builder
-
Method Summary
Modifier and TypeMethodDescriptionStack trace of the eager execution.Stack trace of the eager execution.The graph that's executed: applicable only to the eager execution of a FuncGraph.The graph that's executed: applicable only to the eager execution of a FuncGraph.longgetInputTensorIds(int index) IDs of the input tensors (if available).intIDs of the input tensors (if available).IDs of the input tensors (if available).intNumber of output tensors.Op type (e.g., "MatMul").Op type (e.g., "MatMul").intgetOutputTensorDeviceIds(int index) Debugged-generated IDs of the devices on which the output tensors reside.intDebugged-generated IDs of the devices on which the output tensors reside.Debugged-generated IDs of the devices on which the output tensors reside.longgetOutputTensorIds(int index) IDs of the output tensors (if availbable).intIDs of the output tensors (if availbable).IDs of the output tensors (if availbable).Type of the tensor value encapsulated in this proto.intType of the tensor value encapsulated in this proto.getTensorProtos(int index) Output Tensor values in the type described by `tensor_value_type`.intOutput Tensor values in the type described by `tensor_value_type`.Output Tensor values in the type described by `tensor_value_type`.getTensorProtosOrBuilder(int index) Output Tensor values in the type described by `tensor_value_type`.List<? extends TensorProtoOrBuilder> Output Tensor values in the type described by `tensor_value_type`.booleanStack trace of the eager execution.Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
getOpType
String getOpType()Op type (e.g., "MatMul"). In the case of a Graph, this is the name of the Graph.
string op_type = 1;- Returns:
- The opType.
-
getOpTypeBytes
ByteString getOpTypeBytes()Op type (e.g., "MatMul"). In the case of a Graph, this is the name of the Graph.
string op_type = 1;- Returns:
- The bytes for opType.
-
getNumOutputs
int getNumOutputs()Number of output tensors.
int32 num_outputs = 2;- Returns:
- The numOutputs.
-
getGraphId
String getGraphId()The graph that's executed: applicable only to the eager execution of a FuncGraph.
string graph_id = 3;- Returns:
- The graphId.
-
getGraphIdBytes
ByteString getGraphIdBytes()The graph that's executed: applicable only to the eager execution of a FuncGraph.
string graph_id = 3;- Returns:
- The bytes for graphId.
-
getInputTensorIdsList
-
getInputTensorIdsCount
int getInputTensorIdsCount()IDs of the input tensors (if available).
repeated int64 input_tensor_ids = 4;- Returns:
- The count of inputTensorIds.
-
getInputTensorIds
long getInputTensorIds(int index) IDs of the input tensors (if available).
repeated int64 input_tensor_ids = 4;- Parameters:
index- The index of the element to return.- Returns:
- The inputTensorIds at the given index.
-
getOutputTensorIdsList
-
getOutputTensorIdsCount
int getOutputTensorIdsCount()IDs of the output tensors (if availbable). If specified, must have the same length as tensor_protos.
repeated int64 output_tensor_ids = 5;- Returns:
- The count of outputTensorIds.
-
getOutputTensorIds
long getOutputTensorIds(int index) IDs of the output tensors (if availbable). If specified, must have the same length as tensor_protos.
repeated int64 output_tensor_ids = 5;- Parameters:
index- The index of the element to return.- Returns:
- The outputTensorIds at the given index.
-
getTensorDebugModeValue
int getTensorDebugModeValue()Type of the tensor value encapsulated in this proto.
.tensorflow.TensorDebugMode tensor_debug_mode = 6;- Returns:
- The enum numeric value on the wire for tensorDebugMode.
-
getTensorDebugMode
TensorDebugMode getTensorDebugMode()Type of the tensor value encapsulated in this proto.
.tensorflow.TensorDebugMode tensor_debug_mode = 6;- Returns:
- The tensorDebugMode.
-
getTensorProtosList
List<TensorProto> getTensorProtosList()Output Tensor values in the type described by `tensor_value_type`. The length of this should match `num_outputs`.
repeated .tensorflow.TensorProto tensor_protos = 7; -
getTensorProtos
Output Tensor values in the type described by `tensor_value_type`. The length of this should match `num_outputs`.
repeated .tensorflow.TensorProto tensor_protos = 7; -
getTensorProtosCount
int getTensorProtosCount()Output Tensor values in the type described by `tensor_value_type`. The length of this should match `num_outputs`.
repeated .tensorflow.TensorProto tensor_protos = 7; -
getTensorProtosOrBuilderList
List<? extends TensorProtoOrBuilder> getTensorProtosOrBuilderList()Output Tensor values in the type described by `tensor_value_type`. The length of this should match `num_outputs`.
repeated .tensorflow.TensorProto tensor_protos = 7; -
getTensorProtosOrBuilder
Output Tensor values in the type described by `tensor_value_type`. The length of this should match `num_outputs`.
repeated .tensorflow.TensorProto tensor_protos = 7; -
hasCodeLocation
boolean hasCodeLocation()Stack trace of the eager execution.
.tensorflow.CodeLocation code_location = 8;- Returns:
- Whether the codeLocation field is set.
-
getCodeLocation
CodeLocation getCodeLocation()Stack trace of the eager execution.
.tensorflow.CodeLocation code_location = 8;- Returns:
- The codeLocation.
-
getCodeLocationOrBuilder
CodeLocationOrBuilder getCodeLocationOrBuilder()Stack trace of the eager execution.
.tensorflow.CodeLocation code_location = 8; -
getOutputTensorDeviceIdsList
Debugged-generated IDs of the devices on which the output tensors reside. To look up details about the device (e.g., name), cross-reference this field with the DebuggedDevice messages.
repeated int32 output_tensor_device_ids = 9;- Returns:
- A list containing the outputTensorDeviceIds.
-
getOutputTensorDeviceIdsCount
int getOutputTensorDeviceIdsCount()Debugged-generated IDs of the devices on which the output tensors reside. To look up details about the device (e.g., name), cross-reference this field with the DebuggedDevice messages.
repeated int32 output_tensor_device_ids = 9;- Returns:
- The count of outputTensorDeviceIds.
-
getOutputTensorDeviceIds
int getOutputTensorDeviceIds(int index) Debugged-generated IDs of the devices on which the output tensors reside. To look up details about the device (e.g., name), cross-reference this field with the DebuggedDevice messages.
repeated int32 output_tensor_device_ids = 9;- Parameters:
index- The index of the element to return.- Returns:
- The outputTensorDeviceIds at the given index.
-