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

Method sum

test/dynamo/test_python_autograd.py:50–51  ·  view source on GitHub ↗
(self, name: Optional[str] = None)

Source from the content-addressed store, hash-verified

48 return operator_add(self, rhs)
49
50 def sum(self, name: Optional[str] = None) -> "Variable":
51 return operator_sum(self, name)
52
53 def expand(self, sizes: List[int]) -> "Variable":
54 return operator_expand(self, sizes)

Callers 15

forwardMethod · 0.45
forwardMethod · 0.45
forwardMethod · 0.45
test.pyFile · 0.45
test_args.pyFile · 0.45
forwardMethod · 0.45
true_fnMethod · 0.45
false_fnMethod · 0.45
fMethod · 0.45
forwardMethod · 0.45

Calls 1

operator_sumFunction · 0.85

Tested by

no test coverage detected