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

Method __add__

test/dynamo/test_python_autograd.py:47–48  ·  view source on GitHub ↗
(self, rhs: "Variable")

Source from the content-addressed store, hash-verified

45 return operator_mul(self, rhs)
46
47 def __add__(self, rhs: "Variable") -> "Variable":
48 return operator_add(self, rhs)
49
50 def sum(self, name: Optional[str] = None) -> "Variable":
51 return operator_sum(self, name)

Callers

nothing calls this directly

Calls 1

operator_addFunction · 0.85

Tested by

no test coverage detected