Package org.platanios.tensorflow.proto
Class Execution.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
- org.platanios.tensorflow.proto.Execution.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,ExecutionOrBuilder
- Enclosing class:
- Execution
public static final class Execution.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder> implements ExecutionOrBuilder
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 typeorg.platanios.tensorflow.proto.Execution
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Execution.Builder
addAllInputTensorIds(java.lang.Iterable<? extends java.lang.Long> values)
IDs of the input tensors (if available).Execution.Builder
addAllOutputTensorDeviceIds(java.lang.Iterable<? extends java.lang.Integer> values)
Debugged-generated IDs of the devices on which the output tensors reside.Execution.Builder
addAllOutputTensorIds(java.lang.Iterable<? extends java.lang.Long> values)
IDs of the output tensors (if availbable).Execution.Builder
addAllTensorProtos(java.lang.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, java.lang.Object value)
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`.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`.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
buildPartial()
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
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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`.TensorProto.Builder
getTensorProtosBuilder(int index)
Output Tensor values in the type described by `tensor_value_type`.java.util.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`.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Execution.Builder
mergeCodeLocation(CodeLocation value)
Stack trace of the eager execution.Execution.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Execution.Builder
mergeFrom(com.google.protobuf.Message other)
Execution.Builder
mergeFrom(Execution other)
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
setCodeLocation(CodeLocation value)
Stack trace of the eager execution.Execution.Builder
setCodeLocation(CodeLocation.Builder builderForValue)
Stack trace of the eager execution.Execution.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Execution.Builder
setGraphId(java.lang.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(java.lang.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, java.lang.Object value)
Execution.Builder
setTensorDebugMode(TensorDebugMode value)
Type of the tensor value encapsulated in this proto.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`.Execution.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
clear
public Execution.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
getDefaultInstanceForType
public Execution getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Execution build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Execution buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Execution.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
setField
public Execution.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
clearField
public Execution.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
clearOneof
public Execution.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
setRepeatedField
public Execution.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
addRepeatedField
public Execution.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
mergeFrom
public Execution.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Execution.Builder>
-
mergeFrom
public Execution.Builder mergeFrom(Execution other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
mergeFrom
public Execution.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Execution.Builder>
- Throws:
java.io.IOException
-
getOpType
public 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;
- Specified by:
getOpType
in interfaceExecutionOrBuilder
- Returns:
- The opType.
-
getOpTypeBytes
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;
- Specified by:
getOpTypeBytes
in interfaceExecutionOrBuilder
- Returns:
- The bytes for opType.
-
setOpType
public Execution.Builder setOpType(java.lang.String value)
Op type (e.g., "MatMul"). In the case of a Graph, this is the name of the Graph.
string op_type = 1;
- Parameters:
value
- The opType to set.- Returns:
- This builder for chaining.
-
clearOpType
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;
- Returns:
- This builder for chaining.
-
setOpTypeBytes
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;
- Parameters:
value
- The bytes for opType to set.- Returns:
- This builder for chaining.
-
getNumOutputs
public int getNumOutputs()
Number of output tensors.
int32 num_outputs = 2;
- Specified by:
getNumOutputs
in interfaceExecutionOrBuilder
- Returns:
- The numOutputs.
-
setNumOutputs
public Execution.Builder setNumOutputs(int value)
Number of output tensors.
int32 num_outputs = 2;
- Parameters:
value
- The numOutputs to set.- Returns:
- This builder for chaining.
-
clearNumOutputs
public Execution.Builder clearNumOutputs()
Number of output tensors.
int32 num_outputs = 2;
- Returns:
- This builder for chaining.
-
getGraphId
public java.lang.String getGraphId()
The graph that's executed: applicable only to the eager execution of a FuncGraph.
string graph_id = 3;
- Specified by:
getGraphId
in interfaceExecutionOrBuilder
- Returns:
- The graphId.
-
getGraphIdBytes
public com.google.protobuf.ByteString getGraphIdBytes()
The graph that's executed: applicable only to the eager execution of a FuncGraph.
string graph_id = 3;
- Specified by:
getGraphIdBytes
in interfaceExecutionOrBuilder
- Returns:
- The bytes for graphId.
-
setGraphId
public Execution.Builder setGraphId(java.lang.String value)
The graph that's executed: applicable only to the eager execution of a FuncGraph.
string graph_id = 3;
- Parameters:
value
- The graphId to set.- Returns:
- This builder for chaining.
-
clearGraphId
public Execution.Builder clearGraphId()
The graph that's executed: applicable only to the eager execution of a FuncGraph.
string graph_id = 3;
- Returns:
- This builder for chaining.
-
setGraphIdBytes
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;
- Parameters:
value
- The bytes for graphId to set.- Returns:
- This builder for chaining.
-
getInputTensorIdsList
public java.util.List<java.lang.Long> getInputTensorIdsList()
IDs of the input tensors (if available).
repeated int64 input_tensor_ids = 4;
- Specified by:
getInputTensorIdsList
in interfaceExecutionOrBuilder
- Returns:
- A list containing the inputTensorIds.
-
getInputTensorIdsCount
public int getInputTensorIdsCount()
IDs of the input tensors (if available).
repeated int64 input_tensor_ids = 4;
- Specified by:
getInputTensorIdsCount
in interfaceExecutionOrBuilder
- Returns:
- The count of inputTensorIds.
-
getInputTensorIds
public long getInputTensorIds(int index)
IDs of the input tensors (if available).
repeated int64 input_tensor_ids = 4;
- Specified by:
getInputTensorIds
in interfaceExecutionOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The inputTensorIds at the given index.
-
setInputTensorIds
public Execution.Builder setInputTensorIds(int index, long value)
IDs of the input tensors (if available).
repeated int64 input_tensor_ids = 4;
- Parameters:
index
- The index to set the value at.value
- The inputTensorIds to set.- Returns:
- This builder for chaining.
-
addInputTensorIds
public Execution.Builder addInputTensorIds(long value)
IDs of the input tensors (if available).
repeated int64 input_tensor_ids = 4;
- Parameters:
value
- The inputTensorIds to add.- Returns:
- This builder for chaining.
-
addAllInputTensorIds
public Execution.Builder addAllInputTensorIds(java.lang.Iterable<? extends java.lang.Long> values)
IDs of the input tensors (if available).
repeated int64 input_tensor_ids = 4;
- Parameters:
values
- The inputTensorIds to add.- Returns:
- This builder for chaining.
-
clearInputTensorIds
public Execution.Builder clearInputTensorIds()
IDs of the input tensors (if available).
repeated int64 input_tensor_ids = 4;
- Returns:
- This builder for chaining.
-
getOutputTensorIdsList
public 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;
- Specified by:
getOutputTensorIdsList
in interfaceExecutionOrBuilder
- Returns:
- A list containing the outputTensorIds.
-
getOutputTensorIdsCount
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;
- Specified by:
getOutputTensorIdsCount
in interfaceExecutionOrBuilder
- Returns:
- The count of outputTensorIds.
-
getOutputTensorIds
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;
- Specified by:
getOutputTensorIds
in interfaceExecutionOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The outputTensorIds at the given index.
-
setOutputTensorIds
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;
- Parameters:
index
- The index to set the value at.value
- The outputTensorIds to set.- Returns:
- This builder for chaining.
-
addOutputTensorIds
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;
- Parameters:
value
- The outputTensorIds to add.- Returns:
- This builder for chaining.
-
addAllOutputTensorIds
public Execution.Builder addAllOutputTensorIds(java.lang.Iterable<? extends java.lang.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;
- Parameters:
values
- The outputTensorIds to add.- Returns:
- This builder for chaining.
-
clearOutputTensorIds
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;
- Returns:
- This builder for chaining.
-
getTensorDebugModeValue
public int getTensorDebugModeValue()
Type of the tensor value encapsulated in this proto.
.org.platanios.tensorflow.proto.TensorDebugMode tensor_debug_mode = 6;
- Specified by:
getTensorDebugModeValue
in interfaceExecutionOrBuilder
- Returns:
- The enum numeric value on the wire for tensorDebugMode.
-
setTensorDebugModeValue
public Execution.Builder setTensorDebugModeValue(int value)
Type of the tensor value encapsulated in this proto.
.org.platanios.tensorflow.proto.TensorDebugMode tensor_debug_mode = 6;
- Parameters:
value
- The enum numeric value on the wire for tensorDebugMode to set.- Returns:
- This builder for chaining.
-
getTensorDebugMode
public TensorDebugMode getTensorDebugMode()
Type of the tensor value encapsulated in this proto.
.org.platanios.tensorflow.proto.TensorDebugMode tensor_debug_mode = 6;
- Specified by:
getTensorDebugMode
in interfaceExecutionOrBuilder
- Returns:
- The tensorDebugMode.
-
setTensorDebugMode
public Execution.Builder setTensorDebugMode(TensorDebugMode value)
Type of the tensor value encapsulated in this proto.
.org.platanios.tensorflow.proto.TensorDebugMode tensor_debug_mode = 6;
- Parameters:
value
- The tensorDebugMode to set.- Returns:
- This builder for chaining.
-
clearTensorDebugMode
public Execution.Builder clearTensorDebugMode()
Type of the tensor value encapsulated in this proto.
.org.platanios.tensorflow.proto.TensorDebugMode tensor_debug_mode = 6;
- Returns:
- This builder for chaining.
-
getTensorProtosList
public 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;
- Specified by:
getTensorProtosList
in interfaceExecutionOrBuilder
-
getTensorProtosCount
public 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;
- Specified by:
getTensorProtosCount
in interfaceExecutionOrBuilder
-
getTensorProtos
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 .org.platanios.tensorflow.proto.TensorProto tensor_protos = 7;
- Specified by:
getTensorProtos
in interfaceExecutionOrBuilder
-
setTensorProtos
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 .org.platanios.tensorflow.proto.TensorProto tensor_protos = 7;
-
setTensorProtos
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 .org.platanios.tensorflow.proto.TensorProto tensor_protos = 7;
-
addTensorProtos
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 .org.platanios.tensorflow.proto.TensorProto tensor_protos = 7;
-
addTensorProtos
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 .org.platanios.tensorflow.proto.TensorProto tensor_protos = 7;
-
addTensorProtos
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 .org.platanios.tensorflow.proto.TensorProto tensor_protos = 7;
-
addTensorProtos
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 .org.platanios.tensorflow.proto.TensorProto tensor_protos = 7;
-
addAllTensorProtos
public Execution.Builder addAllTensorProtos(java.lang.Iterable<? extends TensorProto> values)
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;
-
clearTensorProtos
public Execution.Builder clearTensorProtos()
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;
-
removeTensorProtos
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 .org.platanios.tensorflow.proto.TensorProto tensor_protos = 7;
-
getTensorProtosBuilder
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 .org.platanios.tensorflow.proto.TensorProto tensor_protos = 7;
-
getTensorProtosOrBuilder
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 .org.platanios.tensorflow.proto.TensorProto tensor_protos = 7;
- Specified by:
getTensorProtosOrBuilder
in interfaceExecutionOrBuilder
-
getTensorProtosOrBuilderList
public 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;
- Specified by:
getTensorProtosOrBuilderList
in interfaceExecutionOrBuilder
-
addTensorProtosBuilder
public TensorProto.Builder addTensorProtosBuilder()
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;
-
addTensorProtosBuilder
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 .org.platanios.tensorflow.proto.TensorProto tensor_protos = 7;
-
getTensorProtosBuilderList
public java.util.List<TensorProto.Builder> getTensorProtosBuilderList()
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
public boolean hasCodeLocation()
Stack trace of the eager execution.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
- Specified by:
hasCodeLocation
in interfaceExecutionOrBuilder
- Returns:
- Whether the codeLocation field is set.
-
getCodeLocation
public CodeLocation getCodeLocation()
Stack trace of the eager execution.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
- Specified by:
getCodeLocation
in interfaceExecutionOrBuilder
- Returns:
- The codeLocation.
-
setCodeLocation
public Execution.Builder setCodeLocation(CodeLocation value)
Stack trace of the eager execution.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
-
setCodeLocation
public Execution.Builder setCodeLocation(CodeLocation.Builder builderForValue)
Stack trace of the eager execution.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
-
mergeCodeLocation
public Execution.Builder mergeCodeLocation(CodeLocation value)
Stack trace of the eager execution.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
-
clearCodeLocation
public Execution.Builder clearCodeLocation()
Stack trace of the eager execution.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
-
getCodeLocationBuilder
public CodeLocation.Builder getCodeLocationBuilder()
Stack trace of the eager execution.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
-
getCodeLocationOrBuilder
public CodeLocationOrBuilder getCodeLocationOrBuilder()
Stack trace of the eager execution.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
- Specified by:
getCodeLocationOrBuilder
in interfaceExecutionOrBuilder
-
getOutputTensorDeviceIdsList
public 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;
- Specified by:
getOutputTensorDeviceIdsList
in interfaceExecutionOrBuilder
- Returns:
- A list containing the outputTensorDeviceIds.
-
getOutputTensorDeviceIdsCount
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;
- Specified by:
getOutputTensorDeviceIdsCount
in interfaceExecutionOrBuilder
- Returns:
- The count of outputTensorDeviceIds.
-
getOutputTensorDeviceIds
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;
- Specified by:
getOutputTensorDeviceIds
in interfaceExecutionOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The outputTensorDeviceIds at the given index.
-
setOutputTensorDeviceIds
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;
- Parameters:
index
- The index to set the value at.value
- The outputTensorDeviceIds to set.- Returns:
- This builder for chaining.
-
addOutputTensorDeviceIds
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;
- Parameters:
value
- The outputTensorDeviceIds to add.- Returns:
- This builder for chaining.
-
addAllOutputTensorDeviceIds
public Execution.Builder addAllOutputTensorDeviceIds(java.lang.Iterable<? extends java.lang.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;
- Parameters:
values
- The outputTensorDeviceIds to add.- Returns:
- This builder for chaining.
-
clearOutputTensorDeviceIds
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;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Execution.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
mergeUnknownFields
public final Execution.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
-