MCPcopy Create free account
hub / github.com/pytorch/tutorials / func

Function func

intermediate_source/inductor_debug_cpu.py:574–580  ·  view source on GitHub ↗
(arg_0, arg_1, arg_2, arg_3, arg_4)

Source from the content-addressed store, hash-verified

572
573# bench.py
574def func(arg_0, arg_1, arg_2, arg_3, arg_4):
575 add_0 = arg_0 + arg_1
576 add_1 = add_0 + arg_2
577 mul_1 = add_1 * arg_3
578 add_2 = mul_1 + arg_4
579 arg_2 = add_2
580 return arg_2
581
582arg_0 = torch.rand(16384, 512)
583arg_1 = torch.rand(1, 512)

Callers 9

call_fnFunction · 0.85
__torch_dispatch__Method · 0.85
custom_torch_functionFunction · 0.85
benchmarkFunction · 0.85
func_params_onlyFunction · 0.85
benchmarkFunction · 0.85
func_x1Function · 0.85
func_x2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected