megengine.traced_module.expr.GetAttr.replace_inputs

GetAttr.replace_inputs(repl_dict)

Replace the input Nodes of this Expr.

参数

repl_dict (Dict[Node, Node]) – the map {old_Node: new_Node} that specifies how to replace the input Nodes.