Execution

public final class Execution

 Data relating to the eager execution of an op or a Graph.
 For a op that generates N output tensors (N >= 0), only one
 Execution proto will be used to describe the execution event.
 
Protobuf type tensorflow.Execution

Nested Classes

class Execution.Builder
 Data relating to the eager execution of an op or a Graph. 

Constants

int CODE_LOCATION_FIELD_NUMBER
int GRAPH_ID_FIELD_NUMBER
int INPUT_TENSOR_IDS_FIELD_NUMBER
int NUM_OUTPUTS_FIELD_NUMBER
int OP_TYPE_FIELD_NUMBER
int OUTPUT_TENSOR_DEVICE_IDS_FIELD_NUMBER
int OUTPUT_TENSOR_IDS_FIELD_NUMBER
int TENSOR_DEBUG_MODE_FIELD_NUMBER
int TENSOR_PROTOS_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
CodeLocation
getCodeLocation()
 Stack trace of the eager execution.
CodeLocationOrBuilder
getCodeLocationOrBuilder()
 Stack trace of the eager execution.
static Execution
Execution
final static com.google.protobuf.Descriptors.Descriptor
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).
List<Long>
getInputTensorIdsList()
 IDs of the input tensors (if available).
int
getNumOutputs()
 Number of output tensors.
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.
List<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).
List<Long>
getOutputTensorIdsList()
 IDs of the output tensors (if availbable).
int
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`.
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`.
List<? extends TensorProtoOrBuilder>
getTensorProtosOrBuilderList()
 Output Tensor values in the type described by `tensor_value_type`.
final com.google.protobuf.UnknownFieldSet
boolean
hasCodeLocation()
 Stack trace of the eager execution.
int
final boolean
static Execution.Builder
newBuilder(Execution prototype)
static Execution.Builder
Execution.Builder
static Execution
parseDelimitedFrom(InputStream input)
static Execution
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Execution
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Execution
parseFrom(com.google.protobuf.CodedInputStream input)
static Execution
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Execution
parseFrom(ByteBuffer data)
static Execution
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Execution
parseFrom(com.google.protobuf.ByteString data)
static Execution
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Execution
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
Execution.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int CODE_LOCATION_FIELD_NUMBER

Constant Value: 8

public static final int GRAPH_ID_FIELD_NUMBER

Constant Value: 3

public static final int INPUT_TENSOR_IDS_FIELD_NUMBER

Constant Value: 4

public static final int NUM_OUTPUTS_FIELD_NUMBER

Constant Value: 2

public static final int OP_TYPE_FIELD_NUMBER

Constant Value: 1

public static final int OUTPUT_TENSOR_DEVICE_IDS_FIELD_NUMBER

Constant Value: 9

public static final int OUTPUT_TENSOR_IDS_FIELD_NUMBER

Constant Value: 5

public static final int TENSOR_DEBUG_MODE_FIELD_NUMBER

Constant Value: 6

public static final int TENSOR_PROTOS_FIELD_NUMBER

Constant Value: 7

Public Methods

public boolean equals (Object obj)

public CodeLocation getCodeLocation ()

 Stack trace of the eager execution.
 
.tensorflow.CodeLocation code_location = 8;

public CodeLocationOrBuilder getCodeLocationOrBuilder ()

 Stack trace of the eager execution.
 
.tensorflow.CodeLocation code_location = 8;

public static Execution getDefaultInstance ()

public Execution getDefaultInstanceForType ()

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

public String getGraphId ()

 The graph that's executed: applicable only to the eager
 execution of a FuncGraph.
 
string graph_id = 3;

public com.google.protobuf.ByteString getGraphIdBytes ()

 The graph that's executed: applicable only to the eager
 execution of a FuncGraph.
 
string graph_id = 3;

public long getInputTensorIds (int index)

 IDs of the input tensors (if available).
 
repeated int64 input_tensor_ids = 4;

public int getInputTensorIdsCount ()

 IDs of the input tensors (if available).
 
repeated int64 input_tensor_ids = 4;

public List<Long> getInputTensorIdsList ()

 IDs of the input tensors (if available).
 
repeated int64 input_tensor_ids = 4;

public int getNumOutputs ()

 Number of output tensors.
 
int32 num_outputs = 2;

public String getOpType ()

 Op type (e.g., "MatMul").
 In the case of a Graph, this is the name of the Graph.
 
string op_type = 1;

public 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;

public 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;

public 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;

public 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;

public 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;

public 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;

public 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;

public getParserForType ()

public int getSerializedSize ()

public TensorDebugMode getTensorDebugMode ()

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

public int getTensorDebugModeValue ()

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

public 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;

public 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;

public 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;

public 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;

public 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;

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

public boolean hasCodeLocation ()

 Stack trace of the eager execution.
 
.tensorflow.CodeLocation code_location = 8;

public int hashCode ()

public final boolean isInitialized ()

public static Execution.Builder newBuilder (Execution prototype)

public static Execution.Builder newBuilder ()

public Execution.Builder newBuilderForType ()

public static Execution parseDelimitedFrom (InputStream input)

Throws
IOException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

public static Execution parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

public static parser ()

public Execution.Builder toBuilder ()

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

Throws
IOException