Package org.tensorflow.framework
Class CostGraphDef.Node.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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,java.lang.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 typetensorflow.CostGraphDef.Node
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CostGraphDef.Node.BuilderaddAllControlInput(java.lang.Iterable<? extends java.lang.Integer> values)Ids of the control inputs for this node.CostGraphDef.Node.BuilderaddAllInputInfo(java.lang.Iterable<? extends CostGraphDef.Node.InputInfo> values)repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;CostGraphDef.Node.BuilderaddAllOutputInfo(java.lang.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(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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.CostGraphDef.Node.BuilderclearDeviceTempMemorySize()Deprecated.CostGraphDef.Node.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CostGraphDef.Node.BuilderclearHostTempMemorySize()Deprecated.CostGraphDef.Node.BuilderclearId()The id of the node.CostGraphDef.Node.BuilderclearInaccurate()Are the costs inaccurate?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(com.google.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.java.util.List<java.lang.Integer>getControlInputList()Ids of the control inputs for this node.CostGraphDef.NodegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetDevice()The device of the node.com.google.protobuf.ByteStringgetDeviceBytes()The device of the node.longgetDevicePersistentMemorySize()Deprecated.longgetDeviceTempMemorySize()Deprecated.longgetHostTempMemorySize()Deprecated.intgetId()The id of the node.booleangetInaccurate()Are the costs inaccurate?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;java.util.List<CostGraphDef.Node.InputInfo.Builder>getInputInfoBuilderList()repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;intgetInputInfoCount()repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;java.util.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;java.util.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.java.lang.StringgetName()The name of the node.com.google.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;java.util.List<CostGraphDef.Node.OutputInfo.Builder>getOutputInfoBuilderList()repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;intgetOutputInfoCount()repeated .tensorflow.CostGraphDef.Node.OutputInfo output_info = 5;java.util.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;java.util.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CostGraphDef.Node.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CostGraphDef.Node.BuildermergeFrom(com.google.protobuf.Message other)CostGraphDef.Node.BuildermergeFrom(CostGraphDef.Node other)CostGraphDef.Node.BuildermergeUnknownFields(com.google.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(java.lang.String value)The device of the node.CostGraphDef.Node.BuildersetDeviceBytes(com.google.protobuf.ByteString value)The device of the node.CostGraphDef.Node.BuildersetDevicePersistentMemorySize(long value)Deprecated.CostGraphDef.Node.BuildersetDeviceTempMemorySize(long value)Deprecated.CostGraphDef.Node.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CostGraphDef.Node.BuildersetHostTempMemorySize(long value)Deprecated.CostGraphDef.Node.BuildersetId(int value)The id of the node.CostGraphDef.Node.BuildersetInaccurate(boolean value)Are the costs inaccurate?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(java.lang.String value)The name of the node.CostGraphDef.Node.BuildersetNameBytes(com.google.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(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)CostGraphDef.Node.BuildersetTemporaryMemorySize(long value)Temporary memory used by this node.CostGraphDef.Node.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
clear
public 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
public CostGraphDef.Node getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CostGraphDef.Node build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CostGraphDef.Node buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CostGraphDef.Node.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, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
clearField
public CostGraphDef.Node.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
clearOneof
public CostGraphDef.Node.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
mergeFrom
public CostGraphDef.Node.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CostGraphDef.Node.Builder>
-
mergeFrom
public CostGraphDef.Node.Builder mergeFrom(CostGraphDef.Node other)
-
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 java.io.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:
java.io.IOException
-
getName
public java.lang.String 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
public CostGraphDef.Node.Builder setName(java.lang.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(com.google.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 java.lang.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 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
public CostGraphDef.Node.Builder setDevice(java.lang.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(com.google.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 java.util.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(java.lang.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 java.util.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 java.util.List<CostGraphDef.Node.InputInfo.Builder> getInputInfoBuilderList()
repeated .tensorflow.CostGraphDef.Node.InputInfo input_info = 4;
-
getOutputInfoList
public java.util.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(java.lang.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 java.util.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 java.util.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.int64 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.int64 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.int64 host_temp_memory_size = 10 [deprecated = true];- Returns:
- This builder for chaining.
-
getDeviceTempMemorySize
@Deprecated public long getDeviceTempMemorySize()
Deprecated.int64 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.int64 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.int64 device_temp_memory_size = 11 [deprecated = true];- Returns:
- This builder for chaining.
-
getDevicePersistentMemorySize
@Deprecated public long getDevicePersistentMemorySize()
Deprecated.int64 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.int64 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.int64 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 java.util.List<java.lang.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(java.lang.Iterable<? extends java.lang.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.
-
getInaccurate
public boolean getInaccurate()
Are the costs inaccurate?
bool inaccurate = 17;- Specified by:
getInaccuratein interfaceCostGraphDef.NodeOrBuilder- Returns:
- The inaccurate.
-
setInaccurate
public CostGraphDef.Node.Builder setInaccurate(boolean value)
Are the costs inaccurate?
bool inaccurate = 17;- Parameters:
value- The inaccurate to set.- Returns:
- This builder for chaining.
-
clearInaccurate
public CostGraphDef.Node.Builder 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>
-
-