Package org.platanios.tensorflow.proto
Interface ExecutionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Execution
,Execution.Builder
public interface ExecutionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CodeLocation
getCodeLocation()
Stack trace of the eager execution.CodeLocationOrBuilder
getCodeLocationOrBuilder()
Stack trace of the eager execution.java.lang.String
getGraphId()
The graph that's executed: applicable only to the eager execution of a FuncGraph.com.google.protobuf.ByteString
getGraphIdBytes()
The graph that's executed: applicable only to the eager execution of a FuncGraph.long
getInputTensorIds(int index)
IDs of the input tensors (if available).int
getInputTensorIdsCount()
IDs of the input tensors (if available).java.util.List<java.lang.Long>
getInputTensorIdsList()
IDs of the input tensors (if available).int
getNumOutputs()
Number of output tensors.java.lang.String
getOpType()
Op type (e.g., "MatMul").com.google.protobuf.ByteString
getOpTypeBytes()
Op type (e.g., "MatMul").int
getOutputTensorDeviceIds(int index)
Debugged-generated IDs of the devices on which the output tensors reside.int
getOutputTensorDeviceIdsCount()
Debugged-generated IDs of the devices on which the output tensors reside.java.util.List<java.lang.Integer>
getOutputTensorDeviceIdsList()
Debugged-generated IDs of the devices on which the output tensors reside.long
getOutputTensorIds(int index)
IDs of the output tensors (if availbable).int
getOutputTensorIdsCount()
IDs of the output tensors (if availbable).java.util.List<java.lang.Long>
getOutputTensorIdsList()
IDs of the output tensors (if availbable).TensorDebugMode
getTensorDebugMode()
Type of the tensor value encapsulated in this proto.int
getTensorDebugModeValue()
Type of the tensor value encapsulated in this proto.TensorProto
getTensorProtos(int index)
Output Tensor values in the type described by `tensor_value_type`.int
getTensorProtosCount()
Output Tensor values in the type described by `tensor_value_type`.java.util.List<TensorProto>
getTensorProtosList()
Output Tensor values in the type described by `tensor_value_type`.TensorProtoOrBuilder
getTensorProtosOrBuilder(int index)
Output Tensor values in the type described by `tensor_value_type`.java.util.List<? extends TensorProtoOrBuilder>
getTensorProtosOrBuilderList()
Output Tensor values in the type described by `tensor_value_type`.boolean
hasCodeLocation()
Stack trace of the eager execution.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getOpType
java.lang.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
com.google.protobuf.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
java.lang.String getGraphId()
The graph that's executed: applicable only to the eager execution of a FuncGraph.
string graph_id = 3;
- Returns:
- The graphId.
-
getGraphIdBytes
com.google.protobuf.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
java.util.List<java.lang.Long> getInputTensorIdsList()
IDs of the input tensors (if available).
repeated int64 input_tensor_ids = 4;
- Returns:
- A list containing the inputTensorIds.
-
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
java.util.List<java.lang.Long> getOutputTensorIdsList()
IDs of the output tensors (if availbable). If specified, must have the same length as tensor_protos.
repeated int64 output_tensor_ids = 5;
- Returns:
- A list containing the outputTensorIds.
-
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.
.org.platanios.tensorflow.proto.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.
.org.platanios.tensorflow.proto.TensorDebugMode tensor_debug_mode = 6;
- Returns:
- The tensorDebugMode.
-
getTensorProtosList
java.util.List<TensorProto> getTensorProtosList()
Output Tensor values in the type described by `tensor_value_type`. The length of this should match `num_outputs`.
repeated .org.platanios.tensorflow.proto.TensorProto tensor_protos = 7;
-
getTensorProtos
TensorProto getTensorProtos(int index)
Output Tensor values in the type described by `tensor_value_type`. The length of this should match `num_outputs`.
repeated .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.TensorProto tensor_protos = 7;
-
getTensorProtosOrBuilderList
java.util.List<? extends TensorProtoOrBuilder> getTensorProtosOrBuilderList()
Output Tensor values in the type described by `tensor_value_type`. The length of this should match `num_outputs`.
repeated .org.platanios.tensorflow.proto.TensorProto tensor_protos = 7;
-
getTensorProtosOrBuilder
TensorProtoOrBuilder getTensorProtosOrBuilder(int index)
Output Tensor values in the type described by `tensor_value_type`. The length of this should match `num_outputs`.
repeated .org.platanios.tensorflow.proto.TensorProto tensor_protos = 7;
-
hasCodeLocation
boolean hasCodeLocation()
Stack trace of the eager execution.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
- Returns:
- Whether the codeLocation field is set.
-
getCodeLocation
CodeLocation getCodeLocation()
Stack trace of the eager execution.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
- Returns:
- The codeLocation.
-
getCodeLocationOrBuilder
CodeLocationOrBuilder getCodeLocationOrBuilder()
Stack trace of the eager execution.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
-
getOutputTensorDeviceIdsList
java.util.List<java.lang.Integer> 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.
-
-