public static final   class
      Execution.Builder
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.
tensorflow.Execution
Public Methods
| Execution.Builder | 
 
addAllInputTensorIds(Iterable<? extends Long> values)
                
                   
IDs of the input tensors (if available).  | 
| Execution.Builder | 
 
addAllOutputTensorDeviceIds(Iterable<? extends Integer> values)
                
                   
Debugged-generated IDs of the devices on which the output tensors reside.  | 
| Execution.Builder | 
 
addAllOutputTensorIds(Iterable<? extends Long> values)
                
                   
IDs of the output tensors (if availbable).  | 
| Execution.Builder | 
 
addAllTensorProtos(Iterable<? extends TensorProto> values)
                
                   
Output Tensor values in the type described by `tensor_value_type`.  | 
| Execution.Builder | 
 
addInputTensorIds(long value)
                
                   
IDs of the input tensors (if available).  | 
| Execution.Builder | 
 
addOutputTensorDeviceIds(int value)
                
                   
Debugged-generated IDs of the devices on which the output tensors reside.  | 
| Execution.Builder | 
 
addOutputTensorIds(long value)
                
                   
IDs of the output tensors (if availbable).  | 
| Execution.Builder | 
 
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
                
               
 | 
| Execution.Builder | 
 
addTensorProtos(TensorProto value)
                
                   
Output Tensor values in the type described by `tensor_value_type`.  | 
| Execution.Builder | 
 
addTensorProtos(TensorProto.Builder builderForValue)
                
                   
Output Tensor values in the type described by `tensor_value_type`.  | 
| Execution.Builder | 
 
addTensorProtos(int index, TensorProto value)
                
                   
Output Tensor values in the type described by `tensor_value_type`.  | 
| Execution.Builder | 
 
addTensorProtos(int index, TensorProto.Builder builderForValue)
                
                   
Output Tensor values in the type described by `tensor_value_type`.  | 
| TensorProto.Builder | 
 
addTensorProtosBuilder()
                
                   
Output Tensor values in the type described by `tensor_value_type`.  | 
| TensorProto.Builder | 
 
addTensorProtosBuilder(int index)
                
                   
Output Tensor values in the type described by `tensor_value_type`.  | 
| Execution | 
 
build()
                
               
 | 
| Execution | |
| Execution.Builder | 
 
clear()
                
               
 | 
| Execution.Builder | 
 
clearCodeLocation()
                
                   
Stack trace of the eager execution.  | 
| Execution.Builder | 
 
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
                
               
 | 
| Execution.Builder | 
 
clearGraphId()
                
                   
The graph that's executed: applicable only to the eager execution of a FuncGraph.  | 
| Execution.Builder | 
 
clearInputTensorIds()
                
                   
IDs of the input tensors (if available).  | 
| Execution.Builder | 
 
clearNumOutputs()
                
                   
Number of output tensors.  | 
| Execution.Builder | 
 
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
                
               
 | 
| Execution.Builder | 
 
clearOpType()
                
                   
Op type (e.g., "MatMul").  | 
| Execution.Builder | 
 
clearOutputTensorDeviceIds()
                
                   
Debugged-generated IDs of the devices on which the output tensors reside.  | 
| Execution.Builder | 
 
clearOutputTensorIds()
                
                   
IDs of the output tensors (if availbable).  | 
| Execution.Builder | 
 
clearTensorDebugMode()
                
                   
Type of the tensor value encapsulated in this proto.  | 
| Execution.Builder | 
 
clearTensorProtos()
                
                   
Output Tensor values in the type described by `tensor_value_type`.  | 
| Execution.Builder | 
 
clone()
                
               
 | 
| CodeLocation | 
 
getCodeLocation()
                
                   
Stack trace of the eager execution.  | 
| CodeLocation.Builder | 
 
getCodeLocationBuilder()
                
                   
Stack trace of the eager execution.  | 
| CodeLocationOrBuilder | 
 
getCodeLocationOrBuilder()
                
                   
Stack trace of the eager execution.  | 
| Execution | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| 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).  | 
| 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`.  | 
| TensorProto.Builder | 
 
getTensorProtosBuilder(int index)
                
                   
Output Tensor values in the type described by `tensor_value_type`.  | 
| List<TensorProto.Builder> | 
 
getTensorProtosBuilderList()
                
                   
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`.  | 
| boolean | 
 
hasCodeLocation()
                
                   
Stack trace of the eager execution.  | 
| final boolean | |
| Execution.Builder | |
| Execution.Builder | 
 
mergeFrom(com.google.protobuf.Message other)
                
               
 | 
| Execution.Builder | 
 
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                
               
 | 
| final Execution.Builder | 
 
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
                
               
 | 
| Execution.Builder | 
 
removeTensorProtos(int index)
                
                   
Output Tensor values in the type described by `tensor_value_type`.  | 
| Execution.Builder | |
| Execution.Builder | |
| Execution.Builder | 
 
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
                
               
 | 
| Execution.Builder | 
 
setGraphId(String value)
                
                   
The graph that's executed: applicable only to the eager execution of a FuncGraph.  | 
| Execution.Builder | 
 
setGraphIdBytes(com.google.protobuf.ByteString value)
                
                   
The graph that's executed: applicable only to the eager execution of a FuncGraph.  | 
| Execution.Builder | 
 
setInputTensorIds(int index, long value)
                
                   
IDs of the input tensors (if available).  | 
| Execution.Builder | 
 
setNumOutputs(int value)
                
                   
Number of output tensors.  | 
| Execution.Builder | 
 
setOpType(String value)
                
                   
Op type (e.g., "MatMul").  | 
| Execution.Builder | 
 
setOpTypeBytes(com.google.protobuf.ByteString value)
                
                   
Op type (e.g., "MatMul").  | 
| Execution.Builder | 
 
setOutputTensorDeviceIds(int index, int value)
                
                   
Debugged-generated IDs of the devices on which the output tensors reside.  | 
| Execution.Builder | 
 
setOutputTensorIds(int index, long value)
                
                   
IDs of the output tensors (if availbable).  | 
| Execution.Builder | 
 
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
                
               
 | 
| Execution.Builder | |
| Execution.Builder | 
 
setTensorDebugModeValue(int value)
                
                   
Type of the tensor value encapsulated in this proto.  | 
| Execution.Builder | 
 
setTensorProtos(int index, TensorProto value)
                
                   
Output Tensor values in the type described by `tensor_value_type`.  | 
| Execution.Builder | 
 
setTensorProtos(int index, TensorProto.Builder builderForValue)
                
                   
Output Tensor values in the type described by `tensor_value_type`.  | 
| final Execution.Builder | 
 
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
                
               
 | 
Inherited Methods
Public Methods
public Execution.Builder addAllInputTensorIds (Iterable<? extends Long> values)
IDs of the input tensors (if available).
repeated int64 input_tensor_ids = 4;
public Execution.Builder addAllOutputTensorDeviceIds (Iterable<? extends Integer> values)
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 Execution.Builder addAllOutputTensorIds (Iterable<? extends Long> values)
IDs of the output tensors (if availbable). If specified, must have the same length as tensor_protos.
repeated int64 output_tensor_ids = 5;
public Execution.Builder addAllTensorProtos (Iterable<? extends TensorProto> values)
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 Execution.Builder addInputTensorIds (long value)
IDs of the input tensors (if available).
repeated int64 input_tensor_ids = 4;
public Execution.Builder addOutputTensorDeviceIds (int value)
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 Execution.Builder addOutputTensorIds (long value)
IDs of the output tensors (if availbable). If specified, must have the same length as tensor_protos.
repeated int64 output_tensor_ids = 5;
public Execution.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public Execution.Builder addTensorProtos (TensorProto value)
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 Execution.Builder addTensorProtos (TensorProto.Builder builderForValue)
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 Execution.Builder addTensorProtos (int index, TensorProto value)
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 Execution.Builder addTensorProtos (int index, TensorProto.Builder builderForValue)
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 TensorProto.Builder addTensorProtosBuilder ()
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 TensorProto.Builder addTensorProtosBuilder (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 Execution.Builder clearCodeLocation ()
Stack trace of the eager execution.
.tensorflow.CodeLocation code_location = 8;
public Execution.Builder clearGraphId ()
The graph that's executed: applicable only to the eager execution of a FuncGraph.
string graph_id = 3;
public Execution.Builder clearInputTensorIds ()
IDs of the input tensors (if available).
repeated int64 input_tensor_ids = 4;
public Execution.Builder clearOpType ()
Op type (e.g., "MatMul"). In the case of a Graph, this is the name of the Graph.
string op_type = 1;
public Execution.Builder clearOutputTensorDeviceIds ()
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 Execution.Builder clearOutputTensorIds ()
IDs of the output tensors (if availbable). If specified, must have the same length as tensor_protos.
repeated int64 output_tensor_ids = 5;
public Execution.Builder clearTensorDebugMode ()
Type of the tensor value encapsulated in this proto.
.tensorflow.TensorDebugMode tensor_debug_mode = 6;
public Execution.Builder clearTensorProtos ()
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 CodeLocation getCodeLocation ()
Stack trace of the eager execution.
.tensorflow.CodeLocation code_location = 8;
public CodeLocation.Builder getCodeLocationBuilder ()
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 final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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 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 TensorProto.Builder getTensorProtosBuilder (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<TensorProto.Builder> getTensorProtosBuilderList ()
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 boolean hasCodeLocation ()
Stack trace of the eager execution.
.tensorflow.CodeLocation code_location = 8;
public final boolean isInitialized ()
public Execution.Builder mergeCodeLocation (CodeLocation value)
Stack trace of the eager execution.
.tensorflow.CodeLocation code_location = 8;
public Execution.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| IOException | 
|---|
public final Execution.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public Execution.Builder removeTensorProtos (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 Execution.Builder setCodeLocation (CodeLocation value)
Stack trace of the eager execution.
.tensorflow.CodeLocation code_location = 8;
public Execution.Builder setCodeLocation (CodeLocation.Builder builderForValue)
Stack trace of the eager execution.
.tensorflow.CodeLocation code_location = 8;
public Execution.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public Execution.Builder setGraphId (String value)
The graph that's executed: applicable only to the eager execution of a FuncGraph.
string graph_id = 3;
public Execution.Builder setGraphIdBytes (com.google.protobuf.ByteString value)
The graph that's executed: applicable only to the eager execution of a FuncGraph.
string graph_id = 3;
public Execution.Builder setInputTensorIds (int index, long value)
IDs of the input tensors (if available).
repeated int64 input_tensor_ids = 4;
public Execution.Builder setOpType (String value)
Op type (e.g., "MatMul"). In the case of a Graph, this is the name of the Graph.
string op_type = 1;
public Execution.Builder setOpTypeBytes (com.google.protobuf.ByteString value)
Op type (e.g., "MatMul"). In the case of a Graph, this is the name of the Graph.
string op_type = 1;
public Execution.Builder setOutputTensorDeviceIds (int index, int value)
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 Execution.Builder setOutputTensorIds (int index, long value)
IDs of the output tensors (if availbable). If specified, must have the same length as tensor_protos.
repeated int64 output_tensor_ids = 5;
public Execution.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public Execution.Builder setTensorDebugMode (TensorDebugMode value)
Type of the tensor value encapsulated in this proto.
.tensorflow.TensorDebugMode tensor_debug_mode = 6;
public Execution.Builder setTensorDebugModeValue (int value)
Type of the tensor value encapsulated in this proto.
.tensorflow.TensorDebugMode tensor_debug_mode = 6;
public Execution.Builder setTensorProtos (int index, TensorProto value)
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 Execution.Builder setTensorProtos (int index, TensorProto.Builder builderForValue)
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;