@@ -11,7 +11,7 @@ import "tensorflow/core/framework/attr_value.proto";
1111message NodeDef {
1212 // The name given to this operator. Used for naming inputs,
1313 // logging, visualization, etc. Unique within a single GraphDef.
14- // Must match the regexp "[A-Za-z0-9.][A-Za-z0-9_./]*".
14+ // Must match the regexp "[A-Za-z0-9.][A-Za-z0-9_> ./]*".
1515 string name = 1 ;
1616
1717 // The operation name. There may be custom parameters in attrs.
@@ -70,6 +70,15 @@ message NodeDef {
7070 // be {A, B}. This information can be used to map errors originating at the
7171 // current node to some top level source code.
7272 repeated string original_node_names = 1 ;
73+
74+ // This is intended to store the list of names of the functions from the
75+ // original graph that this node was derived. For example if this node, say
76+ // C, was result of a fusion of node A in function FA and node B in function
77+ // FB, then `original_funcs` would be {FA, FB}. If the node is in the top
78+ // level graph, the `original_func` is empty. This information, with the
79+ // `original_node_names` can be used to map errors originating at the
80+ // current ndoe to some top level source code.
81+ repeated string original_func_names = 2 ;
7382 };
7483
7584 // This stores debug information associated with the node.
0 commit comments