Interface ExecutionOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
Execution, Execution.Builder

public interface ExecutionOrBuilder extends MessageOrBuilder
  • 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

      List<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

      List<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.
      
      .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

      TensorProto getTensorProtos(int index)
      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

      TensorProtoOrBuilder getTensorProtosOrBuilder(int index)
      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

      List<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.