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 TypeMethodDescriptionfloatgetCost()Aggregated cost value.Aggregated cost dimension (e.g.com.google.protobuf.ByteStringAggregated cost dimension (e.g.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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.
-