CostGraphDef.AggregatedCost

public static final class CostGraphDef.AggregatedCost

 Total cost of this graph, typically used for balancing decisions.
 
Protobuf type tensorflow.CostGraphDef.AggregatedCost

Nested Classes

class CostGraphDef.AggregatedCost.Builder
 Total cost of this graph, typically used for balancing decisions. 

Constants

int COST_FIELD_NUMBER
int DIMENSION_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
float
getCost()
 Aggregated cost value.
static CostGraphDef.AggregatedCost
CostGraphDef.AggregatedCost
final static com.google.protobuf.Descriptors.Descriptor
String
getDimension()
 Aggregated cost dimension (e.g.
com.google.protobuf.ByteString
getDimensionBytes()
 Aggregated cost dimension (e.g.
int
final com.google.protobuf.UnknownFieldSet
int
final boolean
static CostGraphDef.AggregatedCost.Builder
static CostGraphDef.AggregatedCost.Builder
CostGraphDef.AggregatedCost.Builder
static CostGraphDef.AggregatedCost
parseDelimitedFrom(InputStream input)
static CostGraphDef.AggregatedCost
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CostGraphDef.AggregatedCost
parseFrom(ByteBuffer data)
static CostGraphDef.AggregatedCost
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CostGraphDef.AggregatedCost
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CostGraphDef.AggregatedCost
parseFrom(com.google.protobuf.CodedInputStream input)
static CostGraphDef.AggregatedCost
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CostGraphDef.AggregatedCost
parseFrom(com.google.protobuf.ByteString data)
static CostGraphDef.AggregatedCost
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CostGraphDef.AggregatedCost
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
CostGraphDef.AggregatedCost.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int COST_FIELD_NUMBER

Constant Value: 1

public static final int DIMENSION_FIELD_NUMBER

Constant Value: 2

Public Methods

public boolean equals (Object obj)

public float getCost ()

 Aggregated cost value.
 
float cost = 1;

public static CostGraphDef.AggregatedCost getDefaultInstance ()

public CostGraphDef.AggregatedCost getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

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 getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

public static CostGraphDef.AggregatedCost.Builder newBuilder ()

public CostGraphDef.AggregatedCost.Builder newBuilderForType ()

public static CostGraphDef.AggregatedCost parseDelimitedFrom (InputStream input)

Throws
IOException

public static CostGraphDef.AggregatedCost parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static CostGraphDef.AggregatedCost parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static CostGraphDef.AggregatedCost parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static CostGraphDef.AggregatedCost parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static CostGraphDef.AggregatedCost parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static CostGraphDef.AggregatedCost parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static CostGraphDef.AggregatedCost parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static CostGraphDef.AggregatedCost parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static CostGraphDef.AggregatedCost parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException