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

Function wrapped

tools/Polygraphy/polygraphy/mod/exporter.py:280–282  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

278 elif inspect.isfunction(obj):
279
280 def wrapped(*args, **kwargs):
281 warn_deprecated(name, use_instead, remove_in, module_name)
282 return obj(*args, **kwargs)
283
284 wrapped.__doc__ = f"Deprecated: Use {use_instead} instead"
285 return wrapped

Callers

nothing calls this directly

Calls 1

warn_deprecatedFunction · 0.85

Tested by

no test coverage detected