CostGraphDef.AggregatedCostOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
|
Public Methods
abstract
float
|
|
abstract
String
|
|
abstract
com.google.protobuf.ByteString
|
|
Public Methods
public
abstract
float
getCost
()
Aggregated cost value.
float cost = 1;
public
abstract
String
getDimension
()
Aggregated cost dimension (e.g. 'memory', 'compute', 'network').
string dimension = 2;
public
abstract
com.google.protobuf.ByteString
getDimensionBytes
()
Aggregated cost dimension (e.g. 'memory', 'compute', 'network').
string dimension = 2;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# CostGraphDef.AggregatedCostOrBuilder\n\npublic static interface **CostGraphDef.AggregatedCostOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [CostGraphDef.AggregatedCost](/jvm/api_docs/java/org/tensorflow/proto/framework/CostGraphDef.AggregatedCost), [CostGraphDef.AggregatedCost.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/CostGraphDef.AggregatedCost.Builder) |------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------| | [CostGraphDef.AggregatedCost](/jvm/api_docs/java/org/tensorflow/proto/framework/CostGraphDef.AggregatedCost) | ``` Total cost of this graph, typically used for balancing decisions. ``` | | [CostGraphDef.AggregatedCost.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/CostGraphDef.AggregatedCost.Builder) | ``` Total cost of this graph, typically used for balancing decisions. ``` | |||\n\n### Public Methods\n\n|-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract float | [getCost](/jvm/api_docs/java/org/tensorflow/proto/framework/CostGraphDef.AggregatedCostOrBuilder#getCost())() ``` Aggregated cost value. ``` |\n| abstract String | [getDimension](/jvm/api_docs/java/org/tensorflow/proto/framework/CostGraphDef.AggregatedCostOrBuilder#getDimension())() ``` Aggregated cost dimension (e.g. ``` |\n| abstract com.google.protobuf.ByteString | [getDimensionBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/CostGraphDef.AggregatedCostOrBuilder#getDimensionBytes())() ``` Aggregated cost dimension (e.g. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract float\n**getCost**\n()\n\n\u003cbr /\u003e\n\n```\n Aggregated cost value.\n \n```\n`float cost = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getDimension**\n()\n\n\u003cbr /\u003e\n\n```\n Aggregated cost dimension (e.g. 'memory', 'compute', 'network').\n \n```\n`string dimension = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getDimensionBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Aggregated cost dimension (e.g. 'memory', 'compute', 'network').\n \n```\n`string dimension = 2;`\n\n\u003cbr /\u003e"]]