Home
last modified time | relevance | path

Searched refs:new_op_name (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/tools/graph_transforms/
Drename_op.cc43 const string new_op_name = context.params.at("new_op_name")[0]; in RenameOp() local
49 new_node->set_op(new_op_name); in RenameOp()
DREADME.md688 * new_op_name: Name to change to.
806 !context.params.count("new_op_name") ||
807 (context.params.at("new_op_name").size() != 1)) {
809 "rename_op expects exactly one 'old_op_name' and 'new_op_name' "
810 "argument, e.g. rename_op(old_op_name=Mul, new_op_name=Multiply)");
814 const string new_op_name = context.params.at("new_op_name")[0];
820 new_node->set_op(new_op_name);
/external/tensorflow/tensorflow/python/ops/
Dvariables.py2424 new_op_name = op.node_def.name + "_" + name
2425 new_op_name = new_op_name.replace(":", "_")
2429 name=new_op_name, attrs=op.node_def.attr)