Package org.platanios.tensorflow.proto
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.platanios.tensorflow.proto.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 typeorg.platanios.tensorflow.proto.CostGraphDef.Node
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CostGraphDef.Node.Builder
addAllControlInput(java.lang.Iterable<? extends java.lang.Integer> values)
Ids of the control inputs for this node.CostGraphDef.Node.Builder
addAllInputInfo(java.lang.Iterable<? extends CostGraphDef.Node.InputInfo> values)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.Builder
addAllOutputInfo(java.lang.Iterable<? extends CostGraphDef.Node.OutputInfo> values)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.Builder
addControlInput(int value)
Ids of the control inputs for this node.CostGraphDef.Node.Builder
addInputInfo(int index, CostGraphDef.Node.InputInfo value)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.Builder
addInputInfo(int index, CostGraphDef.Node.InputInfo.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.Builder
addInputInfo(CostGraphDef.Node.InputInfo value)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.Builder
addInputInfo(CostGraphDef.Node.InputInfo.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.InputInfo.Builder
addInputInfoBuilder()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.InputInfo.Builder
addInputInfoBuilder(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.Builder
addOutputInfo(int index, CostGraphDef.Node.OutputInfo value)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.Builder
addOutputInfo(int index, CostGraphDef.Node.OutputInfo.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.Builder
addOutputInfo(CostGraphDef.Node.OutputInfo value)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.Builder
addOutputInfo(CostGraphDef.Node.OutputInfo.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.OutputInfo.Builder
addOutputInfoBuilder()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.OutputInfo.Builder
addOutputInfoBuilder(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CostGraphDef.Node
build()
CostGraphDef.Node
buildPartial()
CostGraphDef.Node.Builder
clear()
CostGraphDef.Node.Builder
clearComputeCost()
Estimate of the computational cost of this node, in microseconds.CostGraphDef.Node.Builder
clearComputeTime()
Analytical estimate of the computational cost of this node, in microseconds.CostGraphDef.Node.Builder
clearControlInput()
Ids of the control inputs for this node.CostGraphDef.Node.Builder
clearDevice()
The device of the node.CostGraphDef.Node.Builder
clearDevicePersistentMemorySize()
Deprecated.CostGraphDef.Node.Builder
clearDeviceTempMemorySize()
Deprecated.CostGraphDef.Node.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CostGraphDef.Node.Builder
clearHostTempMemorySize()
Deprecated.CostGraphDef.Node.Builder
clearId()
The id of the node.CostGraphDef.Node.Builder
clearInaccurate()
Are the costs inaccurate?CostGraphDef.Node.Builder
clearInputInfo()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.Builder
clearIsFinal()
If true, the output is permanent: it can't be discarded, because this node is part of the "final output".CostGraphDef.Node.Builder
clearMemoryTime()
Analytical estimate of the memory access cost of this node, in microseconds.CostGraphDef.Node.Builder
clearName()
The name of the node.CostGraphDef.Node.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CostGraphDef.Node.Builder
clearOutputInfo()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.Builder
clearPersistentMemorySize()
Persistent memory used by this node.CostGraphDef.Node.Builder
clearTemporaryMemorySize()
Temporary memory used by this node.CostGraphDef.Node.Builder
clone()
long
getComputeCost()
Estimate of the computational cost of this node, in microseconds.long
getComputeTime()
Analytical estimate of the computational cost of this node, in microseconds.int
getControlInput(int index)
Ids of the control inputs for this node.int
getControlInputCount()
Ids of the control inputs for this node.java.util.List<java.lang.Integer>
getControlInputList()
Ids of the control inputs for this node.CostGraphDef.Node
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getDevice()
The device of the node.com.google.protobuf.ByteString
getDeviceBytes()
The device of the node.long
getDevicePersistentMemorySize()
Deprecated.long
getDeviceTempMemorySize()
Deprecated.long
getHostTempMemorySize()
Deprecated.int
getId()
The id of the node.boolean
getInaccurate()
Are the costs inaccurate?CostGraphDef.Node.InputInfo
getInputInfo(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.InputInfo.Builder
getInputInfoBuilder(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
java.util.List<CostGraphDef.Node.InputInfo.Builder>
getInputInfoBuilderList()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
int
getInputInfoCount()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
java.util.List<CostGraphDef.Node.InputInfo>
getInputInfoList()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.InputInfoOrBuilder
getInputInfoOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
java.util.List<? extends CostGraphDef.Node.InputInfoOrBuilder>
getInputInfoOrBuilderList()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
boolean
getIsFinal()
If true, the output is permanent: it can't be discarded, because this node is part of the "final output".long
getMemoryTime()
Analytical estimate of the memory access cost of this node, in microseconds.java.lang.String
getName()
The name of the node.com.google.protobuf.ByteString
getNameBytes()
The name of the node.CostGraphDef.Node.OutputInfo
getOutputInfo(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.OutputInfo.Builder
getOutputInfoBuilder(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
java.util.List<CostGraphDef.Node.OutputInfo.Builder>
getOutputInfoBuilderList()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
int
getOutputInfoCount()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
java.util.List<CostGraphDef.Node.OutputInfo>
getOutputInfoList()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.OutputInfoOrBuilder
getOutputInfoOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
java.util.List<? extends CostGraphDef.Node.OutputInfoOrBuilder>
getOutputInfoOrBuilderList()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
long
getPersistentMemorySize()
Persistent memory used by this node.long
getTemporaryMemorySize()
Temporary memory used by this node.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CostGraphDef.Node.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CostGraphDef.Node.Builder
mergeFrom(com.google.protobuf.Message other)
CostGraphDef.Node.Builder
mergeFrom(CostGraphDef.Node other)
CostGraphDef.Node.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CostGraphDef.Node.Builder
removeInputInfo(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.Builder
removeOutputInfo(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.Builder
setComputeCost(long value)
Estimate of the computational cost of this node, in microseconds.CostGraphDef.Node.Builder
setComputeTime(long value)
Analytical estimate of the computational cost of this node, in microseconds.CostGraphDef.Node.Builder
setControlInput(int index, int value)
Ids of the control inputs for this node.CostGraphDef.Node.Builder
setDevice(java.lang.String value)
The device of the node.CostGraphDef.Node.Builder
setDeviceBytes(com.google.protobuf.ByteString value)
The device of the node.CostGraphDef.Node.Builder
setDevicePersistentMemorySize(long value)
Deprecated.CostGraphDef.Node.Builder
setDeviceTempMemorySize(long value)
Deprecated.CostGraphDef.Node.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CostGraphDef.Node.Builder
setHostTempMemorySize(long value)
Deprecated.CostGraphDef.Node.Builder
setId(int value)
The id of the node.CostGraphDef.Node.Builder
setInaccurate(boolean value)
Are the costs inaccurate?CostGraphDef.Node.Builder
setInputInfo(int index, CostGraphDef.Node.InputInfo value)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
CostGraphDef.Node.Builder
setInputInfo(int index, CostGraphDef.Node.InputInfo.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
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".CostGraphDef.Node.Builder
setMemoryTime(long value)
Analytical estimate of the memory access cost of this node, in microseconds.CostGraphDef.Node.Builder
setName(java.lang.String value)
The name of the node.CostGraphDef.Node.Builder
setNameBytes(com.google.protobuf.ByteString value)
The name of the node.CostGraphDef.Node.Builder
setOutputInfo(int index, CostGraphDef.Node.OutputInfo value)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.Builder
setOutputInfo(int index, CostGraphDef.Node.OutputInfo.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
CostGraphDef.Node.Builder
setPersistentMemorySize(long value)
Persistent memory used by this node.CostGraphDef.Node.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
CostGraphDef.Node.Builder
setTemporaryMemorySize(long value)
Temporary memory used by this node.CostGraphDef.Node.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
clear
public CostGraphDef.Node.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
getDefaultInstanceForType
public CostGraphDef.Node getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CostGraphDef.Node build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CostGraphDef.Node buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CostGraphDef.Node.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
setField
public CostGraphDef.Node.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
clearField
public CostGraphDef.Node.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
clearOneof
public CostGraphDef.Node.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
setRepeatedField
public CostGraphDef.Node.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
addRepeatedField
public CostGraphDef.Node.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
mergeFrom
public CostGraphDef.Node.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CostGraphDef.Node.Builder>
-
mergeFrom
public CostGraphDef.Node.Builder mergeFrom(CostGraphDef.Node other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getDevice
in 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:
getDeviceBytes
in 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:
getId
in 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 .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
- Specified by:
getInputInfoList
in interfaceCostGraphDef.NodeOrBuilder
-
getInputInfoCount
public int getInputInfoCount()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
- Specified by:
getInputInfoCount
in interfaceCostGraphDef.NodeOrBuilder
-
getInputInfo
public CostGraphDef.Node.InputInfo getInputInfo(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
- Specified by:
getInputInfo
in interfaceCostGraphDef.NodeOrBuilder
-
setInputInfo
public CostGraphDef.Node.Builder setInputInfo(int index, CostGraphDef.Node.InputInfo value)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
-
setInputInfo
public CostGraphDef.Node.Builder setInputInfo(int index, CostGraphDef.Node.InputInfo.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
-
addInputInfo
public CostGraphDef.Node.Builder addInputInfo(CostGraphDef.Node.InputInfo value)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
-
addInputInfo
public CostGraphDef.Node.Builder addInputInfo(int index, CostGraphDef.Node.InputInfo value)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
-
addInputInfo
public CostGraphDef.Node.Builder addInputInfo(CostGraphDef.Node.InputInfo.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
-
addInputInfo
public CostGraphDef.Node.Builder addInputInfo(int index, CostGraphDef.Node.InputInfo.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
-
addAllInputInfo
public CostGraphDef.Node.Builder addAllInputInfo(java.lang.Iterable<? extends CostGraphDef.Node.InputInfo> values)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
-
clearInputInfo
public CostGraphDef.Node.Builder clearInputInfo()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
-
removeInputInfo
public CostGraphDef.Node.Builder removeInputInfo(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
-
getInputInfoBuilder
public CostGraphDef.Node.InputInfo.Builder getInputInfoBuilder(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
-
getInputInfoOrBuilder
public CostGraphDef.Node.InputInfoOrBuilder getInputInfoOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
- Specified by:
getInputInfoOrBuilder
in interfaceCostGraphDef.NodeOrBuilder
-
getInputInfoOrBuilderList
public java.util.List<? extends CostGraphDef.Node.InputInfoOrBuilder> getInputInfoOrBuilderList()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
- Specified by:
getInputInfoOrBuilderList
in interfaceCostGraphDef.NodeOrBuilder
-
addInputInfoBuilder
public CostGraphDef.Node.InputInfo.Builder addInputInfoBuilder()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
-
addInputInfoBuilder
public CostGraphDef.Node.InputInfo.Builder addInputInfoBuilder(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
-
getInputInfoBuilderList
public java.util.List<CostGraphDef.Node.InputInfo.Builder> getInputInfoBuilderList()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.InputInfo input_info = 4;
-
getOutputInfoList
public java.util.List<CostGraphDef.Node.OutputInfo> getOutputInfoList()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
- Specified by:
getOutputInfoList
in interfaceCostGraphDef.NodeOrBuilder
-
getOutputInfoCount
public int getOutputInfoCount()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
- Specified by:
getOutputInfoCount
in interfaceCostGraphDef.NodeOrBuilder
-
getOutputInfo
public CostGraphDef.Node.OutputInfo getOutputInfo(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
- Specified by:
getOutputInfo
in interfaceCostGraphDef.NodeOrBuilder
-
setOutputInfo
public CostGraphDef.Node.Builder setOutputInfo(int index, CostGraphDef.Node.OutputInfo value)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
-
setOutputInfo
public CostGraphDef.Node.Builder setOutputInfo(int index, CostGraphDef.Node.OutputInfo.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
-
addOutputInfo
public CostGraphDef.Node.Builder addOutputInfo(CostGraphDef.Node.OutputInfo value)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
-
addOutputInfo
public CostGraphDef.Node.Builder addOutputInfo(int index, CostGraphDef.Node.OutputInfo value)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
-
addOutputInfo
public CostGraphDef.Node.Builder addOutputInfo(CostGraphDef.Node.OutputInfo.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
-
addOutputInfo
public CostGraphDef.Node.Builder addOutputInfo(int index, CostGraphDef.Node.OutputInfo.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
-
addAllOutputInfo
public CostGraphDef.Node.Builder addAllOutputInfo(java.lang.Iterable<? extends CostGraphDef.Node.OutputInfo> values)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
-
clearOutputInfo
public CostGraphDef.Node.Builder clearOutputInfo()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
-
removeOutputInfo
public CostGraphDef.Node.Builder removeOutputInfo(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
-
getOutputInfoBuilder
public CostGraphDef.Node.OutputInfo.Builder getOutputInfoBuilder(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
-
getOutputInfoOrBuilder
public CostGraphDef.Node.OutputInfoOrBuilder getOutputInfoOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
- Specified by:
getOutputInfoOrBuilder
in interfaceCostGraphDef.NodeOrBuilder
-
getOutputInfoOrBuilderList
public java.util.List<? extends CostGraphDef.Node.OutputInfoOrBuilder> getOutputInfoOrBuilderList()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
- Specified by:
getOutputInfoOrBuilderList
in interfaceCostGraphDef.NodeOrBuilder
-
addOutputInfoBuilder
public CostGraphDef.Node.OutputInfo.Builder addOutputInfoBuilder()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
-
addOutputInfoBuilder
public CostGraphDef.Node.OutputInfo.Builder addOutputInfoBuilder(int index)
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
-
getOutputInfoBuilderList
public java.util.List<CostGraphDef.Node.OutputInfo.Builder> getOutputInfoBuilderList()
repeated .org.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo output_info = 5;
-
getTemporaryMemorySize
public long getTemporaryMemorySize()
Temporary memory used by this node.
int64 temporary_memory_size = 6;
- Specified by:
getTemporaryMemorySize
in 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:
getPersistentMemorySize
in 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:
getHostTempMemorySize
in 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:
getDeviceTempMemorySize
in 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:
getDevicePersistentMemorySize
in 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:
getComputeCost
in 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:
getComputeTime
in 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:
getMemoryTime
in 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:
getIsFinal
in 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:
getControlInputList
in 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:
getControlInputCount
in 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:
getControlInput
in 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:
getInaccurate
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
mergeUnknownFields
public final CostGraphDef.Node.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.Builder>
-
-