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

Method modifies_arguments

torchgen/model.py:1674–1675  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1672
1673 @property
1674 def modifies_arguments(self) -> bool:
1675 return self.kind() in [SchemaKind.inplace, SchemaKind.out, SchemaKind.mutable]
1676
1677 def has_symint(self) -> bool:
1678 return self.arguments.has_symint_arg()

Callers

nothing calls this directly

Calls 1

kindMethod · 0.95

Tested by

no test coverage detected