Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ add
Method
add
test/test_jit.py:5503–5504 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
5501
5502
def
test_func_call(self):
5503
def
add(a, b):
5504
return
a + b
5505
5506
def
mul(a, x):
5507
return
a * x
Callers
15
__torch_dispatch__
Method · 0.45
test_add
Method · 0.45
eager
Method · 0.45
test_hardswish
Method · 0.45
test_hardsigmoid
Method · 0.45
run_meta_crossref
Function · 0.45
try_resolve_aten_out_overload
Method · 0.45
simple_pool_fill
Function · 0.45
f
Method · 0.45
f
Method · 0.45
test_user_implementation_raises
Method · 0.45
__getattr__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected