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

Function wrong_decomp

recipes_source/debug_mode_tutorial.py:171–172  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

169from torch._dynamo.backends.debugging import get_nop_func
170
171def wrong_decomp(x):
172 return torch.sin(x)
173
174decomp_table = {}
175decomp_table[torch.ops.aten.cos.default] = wrong_decomp

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected