MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / y

Method y

tools/Polygraphy/tests/func/test_func.py:29–31  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

27 # Since y explicitly returns something, the return value of x is discarded.
28 @func.extend(x)
29 def y(elem):
30 assert elem == 1
31 return 2
32
33 assert y() == 2
34

Callers

nothing calls this directly

Calls 1

extendMethod · 0.45

Tested by

no test coverage detected