Package org.tensorflow.framework
Interface CostGraphDef.AggregatedCostOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CostGraphDef.AggregatedCost,CostGraphDef.AggregatedCost.Builder
- Enclosing class:
- CostGraphDef
public static interface CostGraphDef.AggregatedCostOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description floatgetCost()Aggregated cost value.java.lang.StringgetDimension()Aggregated cost dimension (e.g.com.google.protobuf.ByteStringgetDimensionBytes()Aggregated cost dimension (e.g.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCost
float getCost()Aggregated cost value.
float cost = 1;- Returns:
- The cost.
-
getDimension
java.lang.String getDimension()Aggregated cost dimension (e.g. 'memory', 'compute', 'network').
string dimension = 2;- Returns:
- The dimension.
-
getDimensionBytes
com.google.protobuf.ByteString getDimensionBytes()Aggregated cost dimension (e.g. 'memory', 'compute', 'network').
string dimension = 2;- Returns:
- The bytes for dimension.
-