Package org.tensorflow.framework
Class CostGraphDef.Node.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
- org.tensorflow.framework.CostGraphDef.Node.Builder
-
- All Implemented Interfaces:
Cloneable,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder,CostGraphDef.NodeOrBuilder
- Enclosing class:
- CostGraphDef.Node
public static final class CostGraphDef.Node.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder> implements CostGraphDef.NodeOrBuilder
Protobuf typetensorflow.CostGraphDef.Node
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CostGraphDef.Node.BuilderaddAllControlInput(Iterable<? extends Integer> values)Ids of the control inputs for this node.CostGraphDef.Node.BuilderaddAllInputInfo(Iterable<? extends CostGraphDef.Node.InputInfo> values)repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;CostGraphDef.Node.BuilderaddAllOutputInfo(Iterable<? extends CostGraphDef.Node.OutputInfo> values)repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;CostGraphDef.Node.BuilderaddControlInput(int value)Ids of the control inputs for this node.CostGraphDef.Node.BuilderaddInputInfo(int index, CostGraphDef.Node.InputInfo value)repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;CostGraphDef.Node.BuilderaddInputInfo(int index, CostGraphDef.Node.InputInfo.Builder builderForValue)repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;CostGraphDef.Node.BuilderaddInputInfo(CostGraphDef.Node.InputInfo value)repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;CostGraphDef.Node.BuilderaddInputInfo(CostGraphDef.Node.InputInfo.Builder builderForValue)repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;CostGraphDef.Node.InputInfo.BuilderaddInputInfoBuilder()repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;CostGraphDef.Node.InputInfo.BuilderaddInputInfoBuilder(int index)repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;CostGraphDef.Node.BuilderaddOutputInfo(int index, CostGraphDef.Node.OutputInfo value)repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;CostGraphDef.Node.BuilderaddOutputInfo(int index, CostGraphDef.Node.OutputInfo.Builder builderForValue)repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;CostGraphDef.Node.BuilderaddOutputInfo(CostGraphDef.Node.OutputInfo value)repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;CostGraphDef.Node.BuilderaddOutputInfo(CostGraphDef.Node.OutputInfo.Builder builderForValue)repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;CostGraphDef.Node.OutputInfo.BuilderaddOutputInfoBuilder()repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;CostGraphDef.Node.OutputInfo.BuilderaddOutputInfoBuilder(int index)repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;CostGraphDef.Node.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)CostGraphDef.Nodebuild()CostGraphDef.NodebuildPartial()CostGraphDef.Node.Builderclear()CostGraphDef.Node.BuilderclearComputeCost()Estimate of the computational cost of this node, in microseconds.CostGraphDef.Node.BuilderclearComputeTime()Analytical estimate of the computational cost of this node, in microseconds.CostGraphDef.Node.BuilderclearControlInput()Ids of the control inputs for this node.CostGraphDef.Node.BuilderclearDevice()The device of the node.CostGraphDef.Node.BuilderclearDevicePersistentMemorySize()Deprecated.tensorflow.CostGraphDef.Node.device_persistent_memory_size is deprecated.CostGraphDef.Node.BuilderclearDeviceTempMemorySize()Deprecated.tensorflow.CostGraphDef.Node.device_temp_memory_size is deprecated.CostGraphDef.Node.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)CostGraphDef.Node.BuilderclearHostTempMemorySize()Deprecated.tensorflow.CostGraphDef.Node.host_temp_memory_size is deprecated.CostGraphDef.Node.BuilderclearId()The id of the node.CostGraphDef.Node.BuilderclearInputInfo()repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;CostGraphDef.Node.BuilderclearIsFinal()If true, the output is permanent: it can't be discarded, because this node is part of the "final output".CostGraphDef.Node.BuilderclearMemoryTime()Analytical estimate of the memory access cost of this node, in microseconds.CostGraphDef.Node.BuilderclearName()The name of the node.CostGraphDef.Node.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)CostGraphDef.Node.BuilderclearOutputInfo()repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;CostGraphDef.Node.BuilderclearPersistentMemorySize()Persistent memory used by this node.CostGraphDef.Node.BuilderclearTemporaryMemorySize()Temporary memory used by this node.CostGraphDef.Node.Builderclone()longgetComputeCost()Estimate of the computational cost of this node, in microseconds.longgetComputeTime()Analytical estimate of the computational cost of this node, in microseconds.intgetControlInput(int index)Ids of the control inputs for this node.intgetControlInputCount()Ids of the control inputs for this node.List<Integer>getControlInputList()Ids of the control inputs for this node.CostGraphDef.NodegetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDevice()The device of the node.org.nd4j.shade.protobuf.ByteStringgetDeviceBytes()The device of the node.longgetDevicePersistentMemorySize()Deprecated.tensorflow.CostGraphDef.Node.device_persistent_memory_size is deprecated.longgetDeviceTempMemorySize()Deprecated.tensorflow.CostGraphDef.Node.device_temp_memory_size is deprecated.longgetHostTempMemorySize()Deprecated.tensorflow.CostGraphDef.Node.host_temp_memory_size is deprecated.intgetId()The id of the node.CostGraphDef.Node.InputInfogetInputInfo(int index)repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;CostGraphDef.Node.InputInfo.BuildergetInputInfoBuilder(int index)repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;List<CostGraphDef.Node.InputInfo.Builder>getInputInfoBuilderList()repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;intgetInputInfoCount()repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;List<CostGraphDef.Node.InputInfo>getInputInfoList()repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;CostGraphDef.Node.InputInfoOrBuildergetInputInfoOrBuilder(int index)repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;List<? extends CostGraphDef.Node.InputInfoOrBuilder>getInputInfoOrBuilderList()repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;booleangetIsFinal()If true, the output is permanent: it can't be discarded, because this node is part of the "final output".longgetMemoryTime()Analytical estimate of the memory access cost of this node, in microseconds.StringgetName()The name of the node.org.nd4j.shade.protobuf.ByteStringgetNameBytes()The name of the node.CostGraphDef.Node.OutputInfogetOutputInfo(int index)repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;CostGraphDef.Node.OutputInfo.BuildergetOutputInfoBuilder(int index)repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;List<CostGraphDef.Node.OutputInfo.Builder>getOutputInfoBuilderList()repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;intgetOutputInfoCount()repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;List<CostGraphDef.Node.OutputInfo>getOutputInfoList()repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;CostGraphDef.Node.OutputInfoOrBuildergetOutputInfoOrBuilder(int index)repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;List<? extends CostGraphDef.Node.OutputInfoOrBuilder>getOutputInfoOrBuilderList()repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;longgetPersistentMemorySize()Persistent memory used by this node.longgetTemporaryMemorySize()Temporary memory used by this node.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CostGraphDef.Node.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)CostGraphDef.Node.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)CostGraphDef.Node.BuildermergeFrom(CostGraphDef.Node other)CostGraphDef.Node.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)CostGraphDef.Node.BuilderremoveInputInfo(int index)repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;CostGraphDef.Node.BuilderremoveOutputInfo(int index)repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;CostGraphDef.Node.BuildersetComputeCost(long value)Estimate of the computational cost of this node, in microseconds.CostGraphDef.Node.BuildersetComputeTime(long value)Analytical estimate of the computational cost of this node, in microseconds.CostGraphDef.Node.BuildersetControlInput(int index, int value)Ids of the control inputs for this node.CostGraphDef.Node.BuildersetDevice(String value)The device of the node.CostGraphDef.Node.BuildersetDeviceBytes(org.nd4j.shade.protobuf.ByteString value)The device of the node.CostGraphDef.Node.BuildersetDevicePersistentMemorySize(long value)Deprecated.tensorflow.CostGraphDef.Node.device_persistent_memory_size is deprecated.CostGraphDef.Node.BuildersetDeviceTempMemorySize(long value)Deprecated.tensorflow.CostGraphDef.Node.device_temp_memory_size is deprecated.CostGraphDef.Node.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)CostGraphDef.Node.BuildersetHostTempMemorySize(long value)Deprecated.tensorflow.CostGraphDef.Node.host_temp_memory_size is deprecated.CostGraphDef.Node.BuildersetId(int value)The id of the node.CostGraphDef.Node.BuildersetInputInfo(int index, CostGraphDef.Node.InputInfo value)repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;CostGraphDef.Node.BuildersetInputInfo(int index, CostGraphDef.Node.InputInfo.Builder builderForValue)repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;CostGraphDef.Node.BuildersetIsFinal(boolean value)If true, the output is permanent: it can't be discarded, because this node is part of the "final output".CostGraphDef.Node.BuildersetMemoryTime(long value)Analytical estimate of the memory access cost of this node, in microseconds.CostGraphDef.Node.BuildersetName(String value)The name of the node.CostGraphDef.Node.BuildersetNameBytes(org.nd4j.shade.protobuf.ByteString value)The name of the node.CostGraphDef.Node.BuildersetOutputInfo(int index, CostGraphDef.Node.OutputInfo value)repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;CostGraphDef.Node.BuildersetOutputInfo(int index, CostGraphDef.Node.OutputInfo.Builder builderForValue)repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;CostGraphDef.Node.BuildersetPersistentMemorySize(long value)Persistent memory used by this node.CostGraphDef.Node.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)CostGraphDef.Node.BuildersetTemporaryMemorySize(long value)Temporary memory used by this node.CostGraphDef.Node.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class org.nd4j.shade.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 org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
clear
public CostGraphDef.Node.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
getDefaultInstanceForType
public CostGraphDef.Node getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public CostGraphDef.Node build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public CostGraphDef.Node buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public CostGraphDef.Node.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
setField
public CostGraphDef.Node.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
clearField
public CostGraphDef.Node.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
clearOneof
public CostGraphDef.Node.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
setRepeatedField
public CostGraphDef.Node.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
addRepeatedField
public CostGraphDef.Node.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
mergeFrom
public CostGraphDef.Node.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<CostGraphDef.Node.Builder>
-
mergeFrom
public CostGraphDef.Node.Builder mergeFrom(CostGraphDef.Node other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
mergeFrom
public CostGraphDef.Node.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<CostGraphDef.Node.Builder>- Throws:
IOException
-
getName
public String getName()
The name of the node. Names are globally unique.
string name = 1;- Specified by:
getNamein interfaceCostGraphDef.NodeOrBuilder- Returns:
- The name.
-
getNameBytes
public org.nd4j.shade.protobuf.ByteString getNameBytes()
The name of the node. Names are globally unique.
string name = 1;- Specified by:
getNameBytesin interfaceCostGraphDef.NodeOrBuilder- Returns:
- The bytes for name.
-
setName
public CostGraphDef.Node.Builder setName(String value)
The name of the node. Names are globally unique.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public CostGraphDef.Node.Builder clearName()
The name of the node. Names are globally unique.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public CostGraphDef.Node.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
The name of the node. Names are globally unique.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDevice
public String getDevice()
The device of the node. Can be empty if the node is mapped to the default partition or partitioning hasn't been run yet.
string device = 2;- Specified by:
getDevicein interfaceCostGraphDef.NodeOrBuilder- Returns:
- The device.
-
getDeviceBytes
public org.nd4j.shade.protobuf.ByteString getDeviceBytes()
The device of the node. Can be empty if the node is mapped to the default partition or partitioning hasn't been run yet.
string device = 2;- Specified by:
getDeviceBytesin interfaceCostGraphDef.NodeOrBuilder- Returns:
- The bytes for device.
-
setDevice
public CostGraphDef.Node.Builder setDevice(String value)
The device of the node. Can be empty if the node is mapped to the default partition or partitioning hasn't been run yet.
string device = 2;- Parameters:
value- The device to set.- Returns:
- This builder for chaining.
-
clearDevice
public CostGraphDef.Node.Builder clearDevice()
The device of the node. Can be empty if the node is mapped to the default partition or partitioning hasn't been run yet.
string device = 2;- Returns:
- This builder for chaining.
-
setDeviceBytes
public CostGraphDef.Node.Builder setDeviceBytes(org.nd4j.shade.protobuf.ByteString value)
The device of the node. Can be empty if the node is mapped to the default partition or partitioning hasn't been run yet.
string device = 2;- Parameters:
value- The bytes for device to set.- Returns:
- This builder for chaining.
-
getId
public int getId()
The id of the node. Node ids are only unique inside a partition.
int32 id = 3;- Specified by:
getIdin interfaceCostGraphDef.NodeOrBuilder- Returns:
- The id.
-
setId
public CostGraphDef.Node.Builder setId(int value)
The id of the node. Node ids are only unique inside a partition.
int32 id = 3;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public CostGraphDef.Node.Builder clearId()
The id of the node. Node ids are only unique inside a partition.
int32 id = 3;- Returns:
- This builder for chaining.
-
getInputInfoList
public List<CostGraphDef.Node.InputInfo> getInputInfoList()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;- Specified by:
getInputInfoListin interfaceCostGraphDef.NodeOrBuilder
-
getInputInfoCount
public int getInputInfoCount()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;- Specified by:
getInputInfoCountin interfaceCostGraphDef.NodeOrBuilder
-
getInputInfo
public CostGraphDef.Node.InputInfo getInputInfo(int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;- Specified by:
getInputInfoin interfaceCostGraphDef.NodeOrBuilder
-
setInputInfo
public CostGraphDef.Node.Builder setInputInfo(int index, CostGraphDef.Node.InputInfo value)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
-
setInputInfo
public CostGraphDef.Node.Builder setInputInfo(int index, CostGraphDef.Node.InputInfo.Builder builderForValue)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
-
addInputInfo
public CostGraphDef.Node.Builder addInputInfo(CostGraphDef.Node.InputInfo value)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
-
addInputInfo
public CostGraphDef.Node.Builder addInputInfo(int index, CostGraphDef.Node.InputInfo value)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
-
addInputInfo
public CostGraphDef.Node.Builder addInputInfo(CostGraphDef.Node.InputInfo.Builder builderForValue)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
-
addInputInfo
public CostGraphDef.Node.Builder addInputInfo(int index, CostGraphDef.Node.InputInfo.Builder builderForValue)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
-
addAllInputInfo
public CostGraphDef.Node.Builder addAllInputInfo(Iterable<? extends CostGraphDef.Node.InputInfo> values)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
-
clearInputInfo
public CostGraphDef.Node.Builder clearInputInfo()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
-
removeInputInfo
public CostGraphDef.Node.Builder removeInputInfo(int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
-
getInputInfoBuilder
public CostGraphDef.Node.InputInfo.Builder getInputInfoBuilder(int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
-
getInputInfoOrBuilder
public CostGraphDef.Node.InputInfoOrBuilder getInputInfoOrBuilder(int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;- Specified by:
getInputInfoOrBuilderin interfaceCostGraphDef.NodeOrBuilder
-
getInputInfoOrBuilderList
public List<? extends CostGraphDef.Node.InputInfoOrBuilder> getInputInfoOrBuilderList()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;- Specified by:
getInputInfoOrBuilderListin interfaceCostGraphDef.NodeOrBuilder
-
addInputInfoBuilder
public CostGraphDef.Node.InputInfo.Builder addInputInfoBuilder()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
-
addInputInfoBuilder
public CostGraphDef.Node.InputInfo.Builder addInputInfoBuilder(int index)
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
-
getInputInfoBuilderList
public List<CostGraphDef.Node.InputInfo.Builder> getInputInfoBuilderList()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
-
getOutputInfoList
public List<CostGraphDef.Node.OutputInfo> getOutputInfoList()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;- Specified by:
getOutputInfoListin interfaceCostGraphDef.NodeOrBuilder
-
getOutputInfoCount
public int getOutputInfoCount()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;- Specified by:
getOutputInfoCountin interfaceCostGraphDef.NodeOrBuilder
-
getOutputInfo
public CostGraphDef.Node.OutputInfo getOutputInfo(int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;- Specified by:
getOutputInfoin interfaceCostGraphDef.NodeOrBuilder
-
setOutputInfo
public CostGraphDef.Node.Builder setOutputInfo(int index, CostGraphDef.Node.OutputInfo value)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
-
setOutputInfo
public CostGraphDef.Node.Builder setOutputInfo(int index, CostGraphDef.Node.OutputInfo.Builder builderForValue)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
-
addOutputInfo
public CostGraphDef.Node.Builder addOutputInfo(CostGraphDef.Node.OutputInfo value)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
-
addOutputInfo
public CostGraphDef.Node.Builder addOutputInfo(int index, CostGraphDef.Node.OutputInfo value)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
-
addOutputInfo
public CostGraphDef.Node.Builder addOutputInfo(CostGraphDef.Node.OutputInfo.Builder builderForValue)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
-
addOutputInfo
public CostGraphDef.Node.Builder addOutputInfo(int index, CostGraphDef.Node.OutputInfo.Builder builderForValue)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
-
addAllOutputInfo
public CostGraphDef.Node.Builder addAllOutputInfo(Iterable<? extends CostGraphDef.Node.OutputInfo> values)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
-
clearOutputInfo
public CostGraphDef.Node.Builder clearOutputInfo()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
-
removeOutputInfo
public CostGraphDef.Node.Builder removeOutputInfo(int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
-
getOutputInfoBuilder
public CostGraphDef.Node.OutputInfo.Builder getOutputInfoBuilder(int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
-
getOutputInfoOrBuilder
public CostGraphDef.Node.OutputInfoOrBuilder getOutputInfoOrBuilder(int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;- Specified by:
getOutputInfoOrBuilderin interfaceCostGraphDef.NodeOrBuilder
-
getOutputInfoOrBuilderList
public List<? extends CostGraphDef.Node.OutputInfoOrBuilder> getOutputInfoOrBuilderList()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;- Specified by:
getOutputInfoOrBuilderListin interfaceCostGraphDef.NodeOrBuilder
-
addOutputInfoBuilder
public CostGraphDef.Node.OutputInfo.Builder addOutputInfoBuilder()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
-
addOutputInfoBuilder
public CostGraphDef.Node.OutputInfo.Builder addOutputInfoBuilder(int index)
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
-
getOutputInfoBuilderList
public List<CostGraphDef.Node.OutputInfo.Builder> getOutputInfoBuilderList()
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;
-
getTemporaryMemorySize
public long getTemporaryMemorySize()
Temporary memory used by this node.
int64 temporary_memory_size = 6;- Specified by:
getTemporaryMemorySizein interfaceCostGraphDef.NodeOrBuilder- Returns:
- The temporaryMemorySize.
-
setTemporaryMemorySize
public CostGraphDef.Node.Builder setTemporaryMemorySize(long value)
Temporary memory used by this node.
int64 temporary_memory_size = 6;- Parameters:
value- The temporaryMemorySize to set.- Returns:
- This builder for chaining.
-
clearTemporaryMemorySize
public CostGraphDef.Node.Builder clearTemporaryMemorySize()
Temporary memory used by this node.
int64 temporary_memory_size = 6;- Returns:
- This builder for chaining.
-
getPersistentMemorySize
public long getPersistentMemorySize()
Persistent memory used by this node.
int64 persistent_memory_size = 12;- Specified by:
getPersistentMemorySizein interfaceCostGraphDef.NodeOrBuilder- Returns:
- The persistentMemorySize.
-
setPersistentMemorySize
public CostGraphDef.Node.Builder setPersistentMemorySize(long value)
Persistent memory used by this node.
int64 persistent_memory_size = 12;- Parameters:
value- The persistentMemorySize to set.- Returns:
- This builder for chaining.
-
clearPersistentMemorySize
public CostGraphDef.Node.Builder clearPersistentMemorySize()
Persistent memory used by this node.
int64 persistent_memory_size = 12;- Returns:
- This builder for chaining.
-
getHostTempMemorySize
@Deprecated public long getHostTempMemorySize()
Deprecated.tensorflow.CostGraphDef.Node.host_temp_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=50int64 host_temp_memory_size = 10 [deprecated = true];- Specified by:
getHostTempMemorySizein interfaceCostGraphDef.NodeOrBuilder- Returns:
- The hostTempMemorySize.
-
setHostTempMemorySize
@Deprecated public CostGraphDef.Node.Builder setHostTempMemorySize(long value)
Deprecated.tensorflow.CostGraphDef.Node.host_temp_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=50int64 host_temp_memory_size = 10 [deprecated = true];- Parameters:
value- The hostTempMemorySize to set.- Returns:
- This builder for chaining.
-
clearHostTempMemorySize
@Deprecated public CostGraphDef.Node.Builder clearHostTempMemorySize()
Deprecated.tensorflow.CostGraphDef.Node.host_temp_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=50int64 host_temp_memory_size = 10 [deprecated = true];- Returns:
- This builder for chaining.
-
getDeviceTempMemorySize
@Deprecated public long getDeviceTempMemorySize()
Deprecated.tensorflow.CostGraphDef.Node.device_temp_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=51int64 device_temp_memory_size = 11 [deprecated = true];- Specified by:
getDeviceTempMemorySizein interfaceCostGraphDef.NodeOrBuilder- Returns:
- The deviceTempMemorySize.
-
setDeviceTempMemorySize
@Deprecated public CostGraphDef.Node.Builder setDeviceTempMemorySize(long value)
Deprecated.tensorflow.CostGraphDef.Node.device_temp_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=51int64 device_temp_memory_size = 11 [deprecated = true];- Parameters:
value- The deviceTempMemorySize to set.- Returns:
- This builder for chaining.
-
clearDeviceTempMemorySize
@Deprecated public CostGraphDef.Node.Builder clearDeviceTempMemorySize()
Deprecated.tensorflow.CostGraphDef.Node.device_temp_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=51int64 device_temp_memory_size = 11 [deprecated = true];- Returns:
- This builder for chaining.
-
getDevicePersistentMemorySize
@Deprecated public long getDevicePersistentMemorySize()
Deprecated.tensorflow.CostGraphDef.Node.device_persistent_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=52int64 device_persistent_memory_size = 16 [deprecated = true];- Specified by:
getDevicePersistentMemorySizein interfaceCostGraphDef.NodeOrBuilder- Returns:
- The devicePersistentMemorySize.
-
setDevicePersistentMemorySize
@Deprecated public CostGraphDef.Node.Builder setDevicePersistentMemorySize(long value)
Deprecated.tensorflow.CostGraphDef.Node.device_persistent_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=52int64 device_persistent_memory_size = 16 [deprecated = true];- Parameters:
value- The devicePersistentMemorySize to set.- Returns:
- This builder for chaining.
-
clearDevicePersistentMemorySize
@Deprecated public CostGraphDef.Node.Builder clearDevicePersistentMemorySize()
Deprecated.tensorflow.CostGraphDef.Node.device_persistent_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=52int64 device_persistent_memory_size = 16 [deprecated = true];- Returns:
- This builder for chaining.
-
getComputeCost
public long getComputeCost()
Estimate of the computational cost of this node, in microseconds.
int64 compute_cost = 9;- Specified by:
getComputeCostin interfaceCostGraphDef.NodeOrBuilder- Returns:
- The computeCost.
-
setComputeCost
public CostGraphDef.Node.Builder setComputeCost(long value)
Estimate of the computational cost of this node, in microseconds.
int64 compute_cost = 9;- Parameters:
value- The computeCost to set.- Returns:
- This builder for chaining.
-
clearComputeCost
public CostGraphDef.Node.Builder clearComputeCost()
Estimate of the computational cost of this node, in microseconds.
int64 compute_cost = 9;- Returns:
- This builder for chaining.
-
getComputeTime
public long getComputeTime()
Analytical estimate of the computational cost of this node, in microseconds.
int64 compute_time = 14;- Specified by:
getComputeTimein interfaceCostGraphDef.NodeOrBuilder- Returns:
- The computeTime.
-
setComputeTime
public CostGraphDef.Node.Builder setComputeTime(long value)
Analytical estimate of the computational cost of this node, in microseconds.
int64 compute_time = 14;- Parameters:
value- The computeTime to set.- Returns:
- This builder for chaining.
-
clearComputeTime
public CostGraphDef.Node.Builder clearComputeTime()
Analytical estimate of the computational cost of this node, in microseconds.
int64 compute_time = 14;- Returns:
- This builder for chaining.
-
getMemoryTime
public long getMemoryTime()
Analytical estimate of the memory access cost of this node, in microseconds.
int64 memory_time = 15;- Specified by:
getMemoryTimein interfaceCostGraphDef.NodeOrBuilder- Returns:
- The memoryTime.
-
setMemoryTime
public CostGraphDef.Node.Builder setMemoryTime(long value)
Analytical estimate of the memory access cost of this node, in microseconds.
int64 memory_time = 15;- Parameters:
value- The memoryTime to set.- Returns:
- This builder for chaining.
-
clearMemoryTime
public CostGraphDef.Node.Builder clearMemoryTime()
Analytical estimate of the memory access cost of this node, in microseconds.
int64 memory_time = 15;- Returns:
- This builder for chaining.
-
getIsFinal
public boolean getIsFinal()
If true, the output is permanent: it can't be discarded, because this node is part of the "final output". Nodes may depend on final nodes.
bool is_final = 7;- Specified by:
getIsFinalin interfaceCostGraphDef.NodeOrBuilder- Returns:
- The isFinal.
-
setIsFinal
public CostGraphDef.Node.Builder setIsFinal(boolean value)
If true, the output is permanent: it can't be discarded, because this node is part of the "final output". Nodes may depend on final nodes.
bool is_final = 7;- Parameters:
value- The isFinal to set.- Returns:
- This builder for chaining.
-
clearIsFinal
public CostGraphDef.Node.Builder clearIsFinal()
If true, the output is permanent: it can't be discarded, because this node is part of the "final output". Nodes may depend on final nodes.
bool is_final = 7;- Returns:
- This builder for chaining.
-
getControlInputList
public List<Integer> getControlInputList()
Ids of the control inputs for this node.
repeated int32 control_input = 8;- Specified by:
getControlInputListin interfaceCostGraphDef.NodeOrBuilder- Returns:
- A list containing the controlInput.
-
getControlInputCount
public int getControlInputCount()
Ids of the control inputs for this node.
repeated int32 control_input = 8;- Specified by:
getControlInputCountin interfaceCostGraphDef.NodeOrBuilder- Returns:
- The count of controlInput.
-
getControlInput
public int getControlInput(int index)
Ids of the control inputs for this node.
repeated int32 control_input = 8;- Specified by:
getControlInputin interfaceCostGraphDef.NodeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The controlInput at the given index.
-
setControlInput
public CostGraphDef.Node.Builder setControlInput(int index, int value)
Ids of the control inputs for this node.
repeated int32 control_input = 8;- Parameters:
index- The index to set the value at.value- The controlInput to set.- Returns:
- This builder for chaining.
-
addControlInput
public CostGraphDef.Node.Builder addControlInput(int value)
Ids of the control inputs for this node.
repeated int32 control_input = 8;- Parameters:
value- The controlInput to add.- Returns:
- This builder for chaining.
-
addAllControlInput
public CostGraphDef.Node.Builder addAllControlInput(Iterable<? extends Integer> values)
Ids of the control inputs for this node.
repeated int32 control_input = 8;- Parameters:
values- The controlInput to add.- Returns:
- This builder for chaining.
-
clearControlInput
public CostGraphDef.Node.Builder clearControlInput()
Ids of the control inputs for this node.
repeated int32 control_input = 8;- Returns:
- This builder for chaining.
-
setUnknownFields
public final CostGraphDef.Node.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
mergeUnknownFields
public final CostGraphDef.Node.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
-