Add aggregated cost dimensions to the CostGraph, typically used for

load-balancing decisions.

PiperOrigin-RevId: 299182048
Change-Id: Ie9336b3f04c0bca21bcd6488da8d4be1889a451b
This commit is contained in:
A. Unique TensorFlower 2020-03-05 13:39:54 -08:00 committed by TensorFlower Gardener
parent a05ddebba0
commit 338ea176a5

View File

@ -76,4 +76,14 @@ message CostGraphDef {
bool inaccurate = 17;
}
repeated Node node = 1;
// Total cost of this graph, typically used for balancing decisions.
message AggregatedCost {
// Aggregated cost value.
float cost = 1;
// Aggregated cost dimension (e.g. 'memory', 'compute', 'network').
string dimension = 2;
}
repeated AggregatedCost cost = 2;
}