public static final class
CostGraphDef.AggregatedCost.Builder
Total cost of this graph, typically used for balancing decisions.
tensorflow.CostGraphDef.AggregatedCost
Public Methods
CostGraphDef.AggregatedCost.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
CostGraphDef.AggregatedCost |
build()
|
CostGraphDef.AggregatedCost | |
CostGraphDef.AggregatedCost.Builder |
clear()
|
CostGraphDef.AggregatedCost.Builder |
clearCost()
Aggregated cost value. |
CostGraphDef.AggregatedCost.Builder |
clearDimension()
Aggregated cost dimension (e.g. |
CostGraphDef.AggregatedCost.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
CostGraphDef.AggregatedCost.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
CostGraphDef.AggregatedCost.Builder |
clone()
|
float |
getCost()
Aggregated cost value. |
CostGraphDef.AggregatedCost | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
String |
getDimension()
Aggregated cost dimension (e.g. |
com.google.protobuf.ByteString |
getDimensionBytes()
Aggregated cost dimension (e.g. |
final boolean | |
CostGraphDef.AggregatedCost.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
CostGraphDef.AggregatedCost.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final CostGraphDef.AggregatedCost.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
CostGraphDef.AggregatedCost.Builder |
setCost(float value)
Aggregated cost value. |
CostGraphDef.AggregatedCost.Builder |
setDimension(String value)
Aggregated cost dimension (e.g. |
CostGraphDef.AggregatedCost.Builder |
setDimensionBytes(com.google.protobuf.ByteString value)
Aggregated cost dimension (e.g. |
CostGraphDef.AggregatedCost.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
CostGraphDef.AggregatedCost.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final CostGraphDef.AggregatedCost.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public CostGraphDef.AggregatedCost.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public CostGraphDef.AggregatedCost.Builder clearDimension ()
Aggregated cost dimension (e.g. 'memory', 'compute', 'network').
string dimension = 2;
public CostGraphDef.AggregatedCost.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
public CostGraphDef.AggregatedCost.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
public float getCost ()
Aggregated cost value.
float cost = 1;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public String getDimension ()
Aggregated cost dimension (e.g. 'memory', 'compute', 'network').
string dimension = 2;
public com.google.protobuf.ByteString getDimensionBytes ()
Aggregated cost dimension (e.g. 'memory', 'compute', 'network').
string dimension = 2;
public final boolean isInitialized ()
public CostGraphDef.AggregatedCost.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final CostGraphDef.AggregatedCost.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public CostGraphDef.AggregatedCost.Builder setCost (float value)
Aggregated cost value.
float cost = 1;
public CostGraphDef.AggregatedCost.Builder setDimension (String value)
Aggregated cost dimension (e.g. 'memory', 'compute', 'network').
string dimension = 2;
public CostGraphDef.AggregatedCost.Builder setDimensionBytes (com.google.protobuf.ByteString value)
Aggregated cost dimension (e.g. 'memory', 'compute', 'network').
string dimension = 2;