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.proto.CostGraphDef.Node.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, CostGraphDef.NodeOrBuilder
- Enclosing class:
CostGraphDef.Node
public static final class CostGraphDef.Node.Builder
extends 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(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.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.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 Descriptors.DescriptorThe device of the node.The 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.The 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 GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(CostGraphDef.Node other) mergeUnknownFields(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(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.setField(Descriptors.FieldDescriptor field, Object value) 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(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(Descriptors.FieldDescriptor field, int index, Object value) setTemporaryMemorySize(long value) Temporary memory used by this node.setUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
setRepeatedField
public CostGraphDef.Node.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
addRepeatedField
- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<CostGraphDef.Node.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
mergeFrom
public CostGraphDef.Node.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.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
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
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=52int64 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=52int64 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=52int64 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=53int64 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=53int64 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=53int64 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=54int64 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=54int64 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=54int64 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
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-