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

Method args

torch/fx/node.py:295–304  ·  view source on GitHub ↗

The tuple of 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 automatically on

(self)

Source from the content-addressed store, hash-verified

293
294 @property
295 def args(self) -> Tuple[Argument, ...]:
296 """
297 The tuple of arguments to this ``Node``. The interpretation of arguments
298 depends on the node's opcode. See the :class:`Node` docstring for more
299 information.
300
301 Assignment to this property is allowed. All accounting of uses and users
302 is updated automatically on assignment.
303 """
304 return self._args
305
306 @args.setter
307 def args(self, a : Tuple[Argument, ...]):

Callers 1

test_await_pythonMethod · 0.45

Calls 2

__update_args_kwargsMethod · 0.95
map_argFunction · 0.70

Tested by 1

test_await_pythonMethod · 0.36