MCPcopy Create free account
hub / github.com/pytorch/pytorch / kwargs

Method kwargs

torch/fx/node.py:318–327  ·  view source on GitHub ↗

The dict of keyword arguments to this ``Node``. The interpretation of arguments depends on the node's opcode. See the :class:`Node` docstring for more information. Assignment to this property is allowed. All accounting of uses and users is updated automatica

(self)

Source from the content-addressed store, hash-verified

316
317 @property
318 def kwargs(self) -> Dict[str, Argument]:
319 """
320 The dict of keyword arguments to this ``Node``. The interpretation of arguments
321 depends on the node's opcode. See the :class:`Node` docstring for more
322 information.
323
324 Assignment to this property is allowed. All accounting of uses and users
325 is updated automatically on assignment.
326 """
327 return self._kwargs
328
329 @kwargs.setter
330 def kwargs(self, k : Dict[str, Argument]):

Callers

nothing calls this directly

Calls 2

__update_args_kwargsMethod · 0.95
map_argFunction · 0.70

Tested by

no test coverage detected