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

Function neg3

intermediate_source/inductor_debug_cpu.py:305–306  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

303# And also modify the ``neg`` function:
304
305def neg3(x):
306 return f"decltype({x})(2 * {x})"
307
308######################################################################
309# An accuracy problem would be raised as follows:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected