aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tensorflow/contrib/tpu/profiler/op_profile.proto4
1 files changed, 3 insertions, 1 deletions
diff --git a/tensorflow/contrib/tpu/profiler/op_profile.proto b/tensorflow/contrib/tpu/profiler/op_profile.proto
index 68cf510e71..b25d06dda8 100644
--- a/tensorflow/contrib/tpu/profiler/op_profile.proto
+++ b/tensorflow/contrib/tpu/profiler/op_profile.proto
@@ -18,13 +18,15 @@ message Profile {
message Node {
string name = 1; // Semantics depend on contents.
Metrics metrics = 2; // May be omitted e.g. for fused instructions.
- repeated Node children = 3;
+ repeated Node children = 3; // Subjected to pruning.
// Details about what this node represents.
oneof contents {
InstructionCategory category = 4;
XLAInstruction xla = 5;
}
+
+ int32 num_children = 6; // Total number of children before pruning.
// A category of XLA instructions.
// name is a descriptive string, like "data formatting".
message InstructionCategory {