mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-07 00:20:20 +01:00
Strip the :x suffix when generating control inputs from input names
PiperOrigin-RevId: 157770257
This commit is contained in:
parent
d6fe47af57
commit
cc346e6906
|
|
@ -176,7 +176,7 @@ Status ConstantFolding::MaterializeShapes(const GrapplerItem& item) {
|
|||
|
||||
// Turn the inputs into control dependencies.
|
||||
CHECK_EQ(1, node.input_size());
|
||||
node.set_input(0, strings::StrCat("^", node.input(0)));
|
||||
node.set_input(0, strings::StrCat("^", NodeName(node.input(0))));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user