Package org.platanios.tensorflow.proto
Class GraphOpCreation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GraphOpCreation.Builder>
-
- org.platanios.tensorflow.proto.GraphOpCreation.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
,GraphOpCreationOrBuilder
- Enclosing class:
- GraphOpCreation
public static final class GraphOpCreation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GraphOpCreation.Builder> implements GraphOpCreationOrBuilder
The creation of an op in a TensorFlow Graph (e.g., FuncGraph in TF2).
Protobuf typeorg.platanios.tensorflow.proto.GraphOpCreation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphOpCreation.Builder
addAllInputNames(java.lang.Iterable<java.lang.String> values)
Names of the input tensors to the op.GraphOpCreation.Builder
addAllOutputTensorIds(java.lang.Iterable<? extends java.lang.Integer> values)
Unique IDs for the output tensors of this op.GraphOpCreation.Builder
addInputNames(java.lang.String value)
Names of the input tensors to the op.GraphOpCreation.Builder
addInputNamesBytes(com.google.protobuf.ByteString value)
Names of the input tensors to the op.GraphOpCreation.Builder
addOutputTensorIds(int value)
Unique IDs for the output tensors of this op.GraphOpCreation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
GraphOpCreation
build()
GraphOpCreation
buildPartial()
GraphOpCreation.Builder
clear()
GraphOpCreation.Builder
clearCodeLocation()
The unique ID for code location (stack trace) of the op's creation.GraphOpCreation.Builder
clearDeviceName()
Name of the device that the op is assigned to (if available).GraphOpCreation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GraphOpCreation.Builder
clearGraphId()
Unique ID of the graph (generated by debugger).GraphOpCreation.Builder
clearGraphName()
Name of the graph that the op is a part of (if available).GraphOpCreation.Builder
clearInputNames()
Names of the input tensors to the op.GraphOpCreation.Builder
clearNumOutputs()
Number of output tensors emitted by the op.GraphOpCreation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GraphOpCreation.Builder
clearOpName()
Name of the op (e.g., "Dense/MatMul_1").GraphOpCreation.Builder
clearOpType()
Type of the op (e.g., "MatMul").GraphOpCreation.Builder
clearOutputTensorIds()
Unique IDs for the output tensors of this op.GraphOpCreation.Builder
clone()
CodeLocation
getCodeLocation()
The unique ID for code location (stack trace) of the op's creation.CodeLocation.Builder
getCodeLocationBuilder()
The unique ID for code location (stack trace) of the op's creation.CodeLocationOrBuilder
getCodeLocationOrBuilder()
The unique ID for code location (stack trace) of the op's creation.GraphOpCreation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getDeviceName()
Name of the device that the op is assigned to (if available).com.google.protobuf.ByteString
getDeviceNameBytes()
Name of the device that the op is assigned to (if available).java.lang.String
getGraphId()
Unique ID of the graph (generated by debugger).com.google.protobuf.ByteString
getGraphIdBytes()
Unique ID of the graph (generated by debugger).java.lang.String
getGraphName()
Name of the graph that the op is a part of (if available).com.google.protobuf.ByteString
getGraphNameBytes()
Name of the graph that the op is a part of (if available).java.lang.String
getInputNames(int index)
Names of the input tensors to the op.com.google.protobuf.ByteString
getInputNamesBytes(int index)
Names of the input tensors to the op.int
getInputNamesCount()
Names of the input tensors to the op.com.google.protobuf.ProtocolStringList
getInputNamesList()
Names of the input tensors to the op.int
getNumOutputs()
Number of output tensors emitted by the op.java.lang.String
getOpName()
Name of the op (e.g., "Dense/MatMul_1").com.google.protobuf.ByteString
getOpNameBytes()
Name of the op (e.g., "Dense/MatMul_1").java.lang.String
getOpType()
Type of the op (e.g., "MatMul").com.google.protobuf.ByteString
getOpTypeBytes()
Type of the op (e.g., "MatMul").int
getOutputTensorIds(int index)
Unique IDs for the output tensors of this op.int
getOutputTensorIdsCount()
Unique IDs for the output tensors of this op.java.util.List<java.lang.Integer>
getOutputTensorIdsList()
Unique IDs for the output tensors of this op.boolean
hasCodeLocation()
The unique ID for code location (stack trace) of the op's creation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GraphOpCreation.Builder
mergeCodeLocation(CodeLocation value)
The unique ID for code location (stack trace) of the op's creation.GraphOpCreation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GraphOpCreation.Builder
mergeFrom(com.google.protobuf.Message other)
GraphOpCreation.Builder
mergeFrom(GraphOpCreation other)
GraphOpCreation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GraphOpCreation.Builder
setCodeLocation(CodeLocation value)
The unique ID for code location (stack trace) of the op's creation.GraphOpCreation.Builder
setCodeLocation(CodeLocation.Builder builderForValue)
The unique ID for code location (stack trace) of the op's creation.GraphOpCreation.Builder
setDeviceName(java.lang.String value)
Name of the device that the op is assigned to (if available).GraphOpCreation.Builder
setDeviceNameBytes(com.google.protobuf.ByteString value)
Name of the device that the op is assigned to (if available).GraphOpCreation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
GraphOpCreation.Builder
setGraphId(java.lang.String value)
Unique ID of the graph (generated by debugger).GraphOpCreation.Builder
setGraphIdBytes(com.google.protobuf.ByteString value)
Unique ID of the graph (generated by debugger).GraphOpCreation.Builder
setGraphName(java.lang.String value)
Name of the graph that the op is a part of (if available).GraphOpCreation.Builder
setGraphNameBytes(com.google.protobuf.ByteString value)
Name of the graph that the op is a part of (if available).GraphOpCreation.Builder
setInputNames(int index, java.lang.String value)
Names of the input tensors to the op.GraphOpCreation.Builder
setNumOutputs(int value)
Number of output tensors emitted by the op.GraphOpCreation.Builder
setOpName(java.lang.String value)
Name of the op (e.g., "Dense/MatMul_1").GraphOpCreation.Builder
setOpNameBytes(com.google.protobuf.ByteString value)
Name of the op (e.g., "Dense/MatMul_1").GraphOpCreation.Builder
setOpType(java.lang.String value)
Type of the op (e.g., "MatMul").GraphOpCreation.Builder
setOpTypeBytes(com.google.protobuf.ByteString value)
Type of the op (e.g., "MatMul").GraphOpCreation.Builder
setOutputTensorIds(int index, int value)
Unique IDs for the output tensors of this op.GraphOpCreation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
GraphOpCreation.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<GraphOpCreation.Builder>
-
clear
public GraphOpCreation.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<GraphOpCreation.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<GraphOpCreation.Builder>
-
getDefaultInstanceForType
public GraphOpCreation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GraphOpCreation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GraphOpCreation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GraphOpCreation.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<GraphOpCreation.Builder>
-
setField
public GraphOpCreation.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<GraphOpCreation.Builder>
-
clearField
public GraphOpCreation.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<GraphOpCreation.Builder>
-
clearOneof
public GraphOpCreation.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<GraphOpCreation.Builder>
-
setRepeatedField
public GraphOpCreation.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<GraphOpCreation.Builder>
-
addRepeatedField
public GraphOpCreation.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<GraphOpCreation.Builder>
-
mergeFrom
public GraphOpCreation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GraphOpCreation.Builder>
-
mergeFrom
public GraphOpCreation.Builder mergeFrom(GraphOpCreation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphOpCreation.Builder>
-
mergeFrom
public GraphOpCreation.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<GraphOpCreation.Builder>
- Throws:
java.io.IOException
-
getOpType
public java.lang.String getOpType()
Type of the op (e.g., "MatMul").
string op_type = 1;
- Specified by:
getOpType
in interfaceGraphOpCreationOrBuilder
- Returns:
- The opType.
-
getOpTypeBytes
public com.google.protobuf.ByteString getOpTypeBytes()
Type of the op (e.g., "MatMul").
string op_type = 1;
- Specified by:
getOpTypeBytes
in interfaceGraphOpCreationOrBuilder
- Returns:
- The bytes for opType.
-
setOpType
public GraphOpCreation.Builder setOpType(java.lang.String value)
Type of the op (e.g., "MatMul").
string op_type = 1;
- Parameters:
value
- The opType to set.- Returns:
- This builder for chaining.
-
clearOpType
public GraphOpCreation.Builder clearOpType()
Type of the op (e.g., "MatMul").
string op_type = 1;
- Returns:
- This builder for chaining.
-
setOpTypeBytes
public GraphOpCreation.Builder setOpTypeBytes(com.google.protobuf.ByteString value)
Type of the op (e.g., "MatMul").
string op_type = 1;
- Parameters:
value
- The bytes for opType to set.- Returns:
- This builder for chaining.
-
getOpName
public java.lang.String getOpName()
Name of the op (e.g., "Dense/MatMul_1").
string op_name = 2;
- Specified by:
getOpName
in interfaceGraphOpCreationOrBuilder
- Returns:
- The opName.
-
getOpNameBytes
public com.google.protobuf.ByteString getOpNameBytes()
Name of the op (e.g., "Dense/MatMul_1").
string op_name = 2;
- Specified by:
getOpNameBytes
in interfaceGraphOpCreationOrBuilder
- Returns:
- The bytes for opName.
-
setOpName
public GraphOpCreation.Builder setOpName(java.lang.String value)
Name of the op (e.g., "Dense/MatMul_1").
string op_name = 2;
- Parameters:
value
- The opName to set.- Returns:
- This builder for chaining.
-
clearOpName
public GraphOpCreation.Builder clearOpName()
Name of the op (e.g., "Dense/MatMul_1").
string op_name = 2;
- Returns:
- This builder for chaining.
-
setOpNameBytes
public GraphOpCreation.Builder setOpNameBytes(com.google.protobuf.ByteString value)
Name of the op (e.g., "Dense/MatMul_1").
string op_name = 2;
- Parameters:
value
- The bytes for opName to set.- Returns:
- This builder for chaining.
-
getGraphName
public java.lang.String getGraphName()
Name of the graph that the op is a part of (if available).
string graph_name = 3;
- Specified by:
getGraphName
in interfaceGraphOpCreationOrBuilder
- Returns:
- The graphName.
-
getGraphNameBytes
public com.google.protobuf.ByteString getGraphNameBytes()
Name of the graph that the op is a part of (if available).
string graph_name = 3;
- Specified by:
getGraphNameBytes
in interfaceGraphOpCreationOrBuilder
- Returns:
- The bytes for graphName.
-
setGraphName
public GraphOpCreation.Builder setGraphName(java.lang.String value)
Name of the graph that the op is a part of (if available).
string graph_name = 3;
- Parameters:
value
- The graphName to set.- Returns:
- This builder for chaining.
-
clearGraphName
public GraphOpCreation.Builder clearGraphName()
Name of the graph that the op is a part of (if available).
string graph_name = 3;
- Returns:
- This builder for chaining.
-
setGraphNameBytes
public GraphOpCreation.Builder setGraphNameBytes(com.google.protobuf.ByteString value)
Name of the graph that the op is a part of (if available).
string graph_name = 3;
- Parameters:
value
- The bytes for graphName to set.- Returns:
- This builder for chaining.
-
getGraphId
public java.lang.String getGraphId()
Unique ID of the graph (generated by debugger). This is the ID of the immediately-enclosing graph.
string graph_id = 4;
- Specified by:
getGraphId
in interfaceGraphOpCreationOrBuilder
- Returns:
- The graphId.
-
getGraphIdBytes
public com.google.protobuf.ByteString getGraphIdBytes()
Unique ID of the graph (generated by debugger). This is the ID of the immediately-enclosing graph.
string graph_id = 4;
- Specified by:
getGraphIdBytes
in interfaceGraphOpCreationOrBuilder
- Returns:
- The bytes for graphId.
-
setGraphId
public GraphOpCreation.Builder setGraphId(java.lang.String value)
Unique ID of the graph (generated by debugger). This is the ID of the immediately-enclosing graph.
string graph_id = 4;
- Parameters:
value
- The graphId to set.- Returns:
- This builder for chaining.
-
clearGraphId
public GraphOpCreation.Builder clearGraphId()
Unique ID of the graph (generated by debugger). This is the ID of the immediately-enclosing graph.
string graph_id = 4;
- Returns:
- This builder for chaining.
-
setGraphIdBytes
public GraphOpCreation.Builder setGraphIdBytes(com.google.protobuf.ByteString value)
Unique ID of the graph (generated by debugger). This is the ID of the immediately-enclosing graph.
string graph_id = 4;
- Parameters:
value
- The bytes for graphId to set.- Returns:
- This builder for chaining.
-
getDeviceName
public java.lang.String getDeviceName()
Name of the device that the op is assigned to (if available).
string device_name = 5;
- Specified by:
getDeviceName
in interfaceGraphOpCreationOrBuilder
- Returns:
- The deviceName.
-
getDeviceNameBytes
public com.google.protobuf.ByteString getDeviceNameBytes()
Name of the device that the op is assigned to (if available).
string device_name = 5;
- Specified by:
getDeviceNameBytes
in interfaceGraphOpCreationOrBuilder
- Returns:
- The bytes for deviceName.
-
setDeviceName
public GraphOpCreation.Builder setDeviceName(java.lang.String value)
Name of the device that the op is assigned to (if available).
string device_name = 5;
- Parameters:
value
- The deviceName to set.- Returns:
- This builder for chaining.
-
clearDeviceName
public GraphOpCreation.Builder clearDeviceName()
Name of the device that the op is assigned to (if available).
string device_name = 5;
- Returns:
- This builder for chaining.
-
setDeviceNameBytes
public GraphOpCreation.Builder setDeviceNameBytes(com.google.protobuf.ByteString value)
Name of the device that the op is assigned to (if available).
string device_name = 5;
- Parameters:
value
- The bytes for deviceName to set.- Returns:
- This builder for chaining.
-
getInputNamesList
public com.google.protobuf.ProtocolStringList getInputNamesList()
Names of the input tensors to the op.
repeated string input_names = 6;
- Specified by:
getInputNamesList
in interfaceGraphOpCreationOrBuilder
- Returns:
- A list containing the inputNames.
-
getInputNamesCount
public int getInputNamesCount()
Names of the input tensors to the op.
repeated string input_names = 6;
- Specified by:
getInputNamesCount
in interfaceGraphOpCreationOrBuilder
- Returns:
- The count of inputNames.
-
getInputNames
public java.lang.String getInputNames(int index)
Names of the input tensors to the op.
repeated string input_names = 6;
- Specified by:
getInputNames
in interfaceGraphOpCreationOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The inputNames at the given index.
-
getInputNamesBytes
public com.google.protobuf.ByteString getInputNamesBytes(int index)
Names of the input tensors to the op.
repeated string input_names = 6;
- Specified by:
getInputNamesBytes
in interfaceGraphOpCreationOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the inputNames at the given index.
-
setInputNames
public GraphOpCreation.Builder setInputNames(int index, java.lang.String value)
Names of the input tensors to the op.
repeated string input_names = 6;
- Parameters:
index
- The index to set the value at.value
- The inputNames to set.- Returns:
- This builder for chaining.
-
addInputNames
public GraphOpCreation.Builder addInputNames(java.lang.String value)
Names of the input tensors to the op.
repeated string input_names = 6;
- Parameters:
value
- The inputNames to add.- Returns:
- This builder for chaining.
-
addAllInputNames
public GraphOpCreation.Builder addAllInputNames(java.lang.Iterable<java.lang.String> values)
Names of the input tensors to the op.
repeated string input_names = 6;
- Parameters:
values
- The inputNames to add.- Returns:
- This builder for chaining.
-
clearInputNames
public GraphOpCreation.Builder clearInputNames()
Names of the input tensors to the op.
repeated string input_names = 6;
- Returns:
- This builder for chaining.
-
addInputNamesBytes
public GraphOpCreation.Builder addInputNamesBytes(com.google.protobuf.ByteString value)
Names of the input tensors to the op.
repeated string input_names = 6;
- Parameters:
value
- The bytes of the inputNames to add.- Returns:
- This builder for chaining.
-
getNumOutputs
public int getNumOutputs()
Number of output tensors emitted by the op.
int32 num_outputs = 7;
- Specified by:
getNumOutputs
in interfaceGraphOpCreationOrBuilder
- Returns:
- The numOutputs.
-
setNumOutputs
public GraphOpCreation.Builder setNumOutputs(int value)
Number of output tensors emitted by the op.
int32 num_outputs = 7;
- Parameters:
value
- The numOutputs to set.- Returns:
- This builder for chaining.
-
clearNumOutputs
public GraphOpCreation.Builder clearNumOutputs()
Number of output tensors emitted by the op.
int32 num_outputs = 7;
- Returns:
- This builder for chaining.
-
hasCodeLocation
public boolean hasCodeLocation()
The unique ID for code location (stack trace) of the op's creation.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
- Specified by:
hasCodeLocation
in interfaceGraphOpCreationOrBuilder
- Returns:
- Whether the codeLocation field is set.
-
getCodeLocation
public CodeLocation getCodeLocation()
The unique ID for code location (stack trace) of the op's creation.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
- Specified by:
getCodeLocation
in interfaceGraphOpCreationOrBuilder
- Returns:
- The codeLocation.
-
setCodeLocation
public GraphOpCreation.Builder setCodeLocation(CodeLocation value)
The unique ID for code location (stack trace) of the op's creation.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
-
setCodeLocation
public GraphOpCreation.Builder setCodeLocation(CodeLocation.Builder builderForValue)
The unique ID for code location (stack trace) of the op's creation.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
-
mergeCodeLocation
public GraphOpCreation.Builder mergeCodeLocation(CodeLocation value)
The unique ID for code location (stack trace) of the op's creation.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
-
clearCodeLocation
public GraphOpCreation.Builder clearCodeLocation()
The unique ID for code location (stack trace) of the op's creation.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
-
getCodeLocationBuilder
public CodeLocation.Builder getCodeLocationBuilder()
The unique ID for code location (stack trace) of the op's creation.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
-
getCodeLocationOrBuilder
public CodeLocationOrBuilder getCodeLocationOrBuilder()
The unique ID for code location (stack trace) of the op's creation.
.org.platanios.tensorflow.proto.CodeLocation code_location = 8;
- Specified by:
getCodeLocationOrBuilder
in interfaceGraphOpCreationOrBuilder
-
getOutputTensorIdsList
public java.util.List<java.lang.Integer> getOutputTensorIdsList()
Unique IDs for the output tensors of this op.
repeated int32 output_tensor_ids = 9;
- Specified by:
getOutputTensorIdsList
in interfaceGraphOpCreationOrBuilder
- Returns:
- A list containing the outputTensorIds.
-
getOutputTensorIdsCount
public int getOutputTensorIdsCount()
Unique IDs for the output tensors of this op.
repeated int32 output_tensor_ids = 9;
- Specified by:
getOutputTensorIdsCount
in interfaceGraphOpCreationOrBuilder
- Returns:
- The count of outputTensorIds.
-
getOutputTensorIds
public int getOutputTensorIds(int index)
Unique IDs for the output tensors of this op.
repeated int32 output_tensor_ids = 9;
- Specified by:
getOutputTensorIds
in interfaceGraphOpCreationOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The outputTensorIds at the given index.
-
setOutputTensorIds
public GraphOpCreation.Builder setOutputTensorIds(int index, int value)
Unique IDs for the output tensors of this op.
repeated int32 output_tensor_ids = 9;
- Parameters:
index
- The index to set the value at.value
- The outputTensorIds to set.- Returns:
- This builder for chaining.
-
addOutputTensorIds
public GraphOpCreation.Builder addOutputTensorIds(int value)
Unique IDs for the output tensors of this op.
repeated int32 output_tensor_ids = 9;
- Parameters:
value
- The outputTensorIds to add.- Returns:
- This builder for chaining.
-
addAllOutputTensorIds
public GraphOpCreation.Builder addAllOutputTensorIds(java.lang.Iterable<? extends java.lang.Integer> values)
Unique IDs for the output tensors of this op.
repeated int32 output_tensor_ids = 9;
- Parameters:
values
- The outputTensorIds to add.- Returns:
- This builder for chaining.
-
clearOutputTensorIds
public GraphOpCreation.Builder clearOutputTensorIds()
Unique IDs for the output tensors of this op.
repeated int32 output_tensor_ids = 9;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final GraphOpCreation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphOpCreation.Builder>
-
mergeUnknownFields
public final GraphOpCreation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GraphOpCreation.Builder>
-
-