Package org.tensorflow.framework
Class CostGraphDef.Node.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CostGraphDef.Node.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
org.tensorflow.framework.CostGraphDef.Node.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,CostGraphDef.NodeOrBuilder
- Enclosing class:
CostGraphDef.Node
public static final class CostGraphDef.Node.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
implements CostGraphDef.NodeOrBuilder
Protobuf type
tensorflow.CostGraphDef.Node-
Method Summary
Modifier and TypeMethodDescriptionaddAllControlInput(Iterable<? extends Integer> values) Ids of the control inputs for this node.addAllInputInfo(Iterable<? extends CostGraphDef.Node.InputInfo> values) repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;addAllOutputInfo(Iterable<? extends CostGraphDef.Node.OutputInfo> values) repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;addControlInput(int value) Ids of the control inputs for this node.addInputInfo(int index, CostGraphDef.Node.InputInfo value) repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;addInputInfo(int index, CostGraphDef.Node.InputInfo.Builder builderForValue) repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;addInputInfo(CostGraphDef.Node.InputInfo.Builder builderForValue) repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;addInputInfoBuilder(int index) repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;addOutputInfo(int index, CostGraphDef.Node.OutputInfo value) repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;addOutputInfo(int index, CostGraphDef.Node.OutputInfo.Builder builderForValue) repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;addOutputInfo(CostGraphDef.Node.OutputInfo.Builder builderForValue) repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;addOutputInfoBuilder(int index) repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Estimate of the computational cost of this node, in microseconds.Analytical estimate of the computational cost of this node, in microseconds.Ids of the control inputs for this node.The device of the node.Deprecated.tensorflow.CostGraphDef.Node.device_persistent_memory_size is deprecated.Deprecated.tensorflow.CostGraphDef.Node.device_temp_memory_size is deprecated.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Deprecated.tensorflow.CostGraphDef.Node.host_temp_memory_size is deprecated.clearId()The id of the node.Are the costs inaccurate?repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;If true, the output is permanent: it can't be discarded, because this node is part of the "final output".Analytical estimate of the memory access cost of this node, in microseconds.The name of the node.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;Persistent memory used by this node.Temporary memory used by this node.clone()longEstimate of the computational cost of this node, in microseconds.longAnalytical estimate of the computational cost of this node, in microseconds.intgetControlInput(int index) Ids of the control inputs for this node.intIds of the control inputs for this node.Ids of the control inputs for this node.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe device of the node.com.google.protobuf.ByteStringThe device of the node.longDeprecated.tensorflow.CostGraphDef.Node.device_persistent_memory_size is deprecated.longDeprecated.tensorflow.CostGraphDef.Node.device_temp_memory_size is deprecated.longDeprecated.tensorflow.CostGraphDef.Node.host_temp_memory_size is deprecated.intgetId()The id of the node.booleanAre the costs inaccurate?getInputInfo(int index) repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;getInputInfoBuilder(int index) repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;intrepeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;getInputInfoOrBuilder(int index) repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;List<? extends CostGraphDef.Node.InputInfoOrBuilder> repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;booleanIf true, the output is permanent: it can't be discarded, because this node is part of the "final output".longAnalytical estimate of the memory access cost of this node, in microseconds.getName()The name of the node.com.google.protobuf.ByteStringThe name of the node.getOutputInfo(int index) repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;getOutputInfoBuilder(int index) repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;intrepeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;getOutputInfoOrBuilder(int index) repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;List<? extends CostGraphDef.Node.OutputInfoOrBuilder> repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;longPersistent memory used by this node.longTemporary memory used by this node.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(CostGraphDef.Node other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeInputInfo(int index) repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;removeOutputInfo(int index) repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;setComputeCost(long value) Estimate of the computational cost of this node, in microseconds.setComputeTime(long value) Analytical estimate of the computational cost of this node, in microseconds.setControlInput(int index, int value) Ids of the control inputs for this node.The device of the node.setDeviceBytes(com.google.protobuf.ByteString value) The device of the node.setDevicePersistentMemorySize(long value) Deprecated.tensorflow.CostGraphDef.Node.device_persistent_memory_size is deprecated.setDeviceTempMemorySize(long value) Deprecated.tensorflow.CostGraphDef.Node.device_temp_memory_size is deprecated.setHostTempMemorySize(long value) Deprecated.tensorflow.CostGraphDef.Node.host_temp_memory_size is deprecated.setId(int value) The id of the node.setInaccurate(boolean value) Are the costs inaccurate?setInputInfo(int index, CostGraphDef.Node.InputInfo value) repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;setInputInfo(int index, CostGraphDef.Node.InputInfo.Builder builderForValue) repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;setIsFinal(boolean value) If true, the output is permanent: it can't be discarded, because this node is part of the "final output".setMemoryTime(long value) Analytical estimate of the memory access cost of this node, in microseconds.The name of the node.setNameBytes(com.google.protobuf.ByteString value) The name of the node.setOutputInfo(int index, CostGraphDef.Node.OutputInfo value) repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;setOutputInfo(int index, CostGraphDef.Node.OutputInfo.Builder builderForValue) repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;setPersistentMemorySize(long value) Persistent memory used by this node.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTemporaryMemorySize(long value) Temporary memory used by this node.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
setField
public CostGraphDef.Node.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
setRepeatedField
public CostGraphDef.Node.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
addRepeatedField
public CostGraphDef.Node.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CostGraphDef.Node.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
mergeFrom
public CostGraphDef.Node.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CostGraphDef.Node.Builder>- Throws:
IOException
-
getName
The name of the node. Names are globally unique.
string name = 1;- Specified by:
getNamein interfaceCostGraphDef.NodeOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.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
The name of the node. Names are globally unique.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the node. Names are globally unique.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
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
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 com.google.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
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
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
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
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
The id of the node. Node ids are only unique inside a partition.
int32 id = 3;- Returns:
- This builder for chaining.
-
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
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;- Specified by:
getInputInfoin interfaceCostGraphDef.NodeOrBuilder
-
setInputInfo
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
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4; -
addInputInfo
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4; -
addInputInfo
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
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4; -
removeInputInfo
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4; -
getInputInfoBuilder
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4; -
getInputInfoOrBuilder
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;- Specified by:
getInputInfoOrBuilderin interfaceCostGraphDef.NodeOrBuilder
-
getInputInfoOrBuilderList
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;- Specified by:
getInputInfoOrBuilderListin interfaceCostGraphDef.NodeOrBuilder
-
addInputInfoBuilder
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4; -
addInputInfoBuilder
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4; -
getInputInfoBuilderList
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4; -
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
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;- Specified by:
getOutputInfoin interfaceCostGraphDef.NodeOrBuilder
-
setOutputInfo
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
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5; -
addOutputInfo
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
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5; -
removeOutputInfo
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5; -
getOutputInfoBuilder
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5; -
getOutputInfoOrBuilder
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;- Specified by:
getOutputInfoOrBuilderin interfaceCostGraphDef.NodeOrBuilder
-
getOutputInfoOrBuilderList
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;- Specified by:
getOutputInfoOrBuilderListin interfaceCostGraphDef.NodeOrBuilder
-
addOutputInfoBuilder
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5; -
addOutputInfoBuilder
repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5; -
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
Temporary memory used by this node.
int64 temporary_memory_size = 6;- Parameters:
value- The temporaryMemorySize to set.- Returns:
- This builder for chaining.
-
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
Persistent memory used by this node.
int64 persistent_memory_size = 12;- Parameters:
value- The persistentMemorySize to set.- Returns:
- This builder for chaining.
-
clearPersistentMemorySize
Persistent memory used by this node.
int64 persistent_memory_size = 12;- Returns:
- This builder for chaining.
-
getHostTempMemorySize
Deprecated.tensorflow.CostGraphDef.Node.host_temp_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=68int64 host_temp_memory_size = 10 [deprecated = true];- Specified by:
getHostTempMemorySizein interfaceCostGraphDef.NodeOrBuilder- Returns:
- The hostTempMemorySize.
-
setHostTempMemorySize
Deprecated.tensorflow.CostGraphDef.Node.host_temp_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=68int64 host_temp_memory_size = 10 [deprecated = true];- Parameters:
value- The hostTempMemorySize to set.- Returns:
- This builder for chaining.
-
clearHostTempMemorySize
Deprecated.tensorflow.CostGraphDef.Node.host_temp_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=68int64 host_temp_memory_size = 10 [deprecated = true];- Returns:
- This builder for chaining.
-
getDeviceTempMemorySize
Deprecated.tensorflow.CostGraphDef.Node.device_temp_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=69int64 device_temp_memory_size = 11 [deprecated = true];- Specified by:
getDeviceTempMemorySizein interfaceCostGraphDef.NodeOrBuilder- Returns:
- The deviceTempMemorySize.
-
setDeviceTempMemorySize
Deprecated.tensorflow.CostGraphDef.Node.device_temp_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=69int64 device_temp_memory_size = 11 [deprecated = true];- Parameters:
value- The deviceTempMemorySize to set.- Returns:
- This builder for chaining.
-
clearDeviceTempMemorySize
Deprecated.tensorflow.CostGraphDef.Node.device_temp_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=69int64 device_temp_memory_size = 11 [deprecated = true];- Returns:
- This builder for chaining.
-
getDevicePersistentMemorySize
Deprecated.tensorflow.CostGraphDef.Node.device_persistent_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=70int64 device_persistent_memory_size = 16 [deprecated = true];- Specified by:
getDevicePersistentMemorySizein interfaceCostGraphDef.NodeOrBuilder- Returns:
- The devicePersistentMemorySize.
-
setDevicePersistentMemorySize
Deprecated.tensorflow.CostGraphDef.Node.device_persistent_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=70int64 device_persistent_memory_size = 16 [deprecated = true];- Parameters:
value- The devicePersistentMemorySize to set.- Returns:
- This builder for chaining.
-
clearDevicePersistentMemorySize
Deprecated.tensorflow.CostGraphDef.Node.device_persistent_memory_size is deprecated. See tensorflow/core/framework/cost_graph.proto;l=70int64 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
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
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
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
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
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
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
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
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
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
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
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
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
Ids of the control inputs for this node.
repeated int32 control_input = 8;- Returns:
- This builder for chaining.
-
getInaccurate
public boolean getInaccurate()Are the costs inaccurate?
bool inaccurate = 17;- Specified by:
getInaccuratein interfaceCostGraphDef.NodeOrBuilder- Returns:
- The inaccurate.
-
setInaccurate
Are the costs inaccurate?
bool inaccurate = 17;- Parameters:
value- The inaccurate to set.- Returns:
- This builder for chaining.
-
clearInaccurate
Are the costs inaccurate?
bool inaccurate = 17;- Returns:
- This builder for chaining.
-
setUnknownFields
public final CostGraphDef.Node.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
mergeUnknownFields
public final CostGraphDef.Node.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-