r"""Makes an ImmutableTensor OpNode to provide a parameter for the network.
(self, data, name=None, device=None)
| 268 | return dump_info |
| 269 | |
| 270 | def make_const(self, data, name=None, device=None): |
| 271 | r"""Makes an ImmutableTensor OpNode to provide a parameter for the network.""" |
| 272 | node = ImmutableTensor(data, name, device, self.graph) |
| 273 | node.compile(self.graph) |
| 274 | return node.outputs[0] |
| 275 | |
| 276 | def make_input_node(self, shape, dtype, name=None, device=None): |
| 277 | r"""Makes a Host2DeviceCopy OpNode to provide an input varnode for the network.""" |