[docs]defapply(self,g:"GraphBuilder",# noqa: F821node:NodeProto,)->List[NodeProto]:cst=g.get_computed_constant(node.output[0])assert(cstisnotNone),f"Node {g.pretty_node(cst)} is a constant, it must be possible to evaluate it."init=g.make_initializer(f"{node.output[0]}_cst2init",cst)return[g.make_node("Identity",[init],node.output,name=f"{self.__class__.__name__}--{node.name}")]