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

Method __getattr__

tools/Polygraphy/polygraphy/mod/exporter.py:257–260  ·  view source on GitHub ↗
(self, attr_name)

Source from the content-addressed store, hash-verified

255
256 class DeprecatedModule:
257 def __getattr__(self, attr_name):
258 warn_deprecated(name, use_instead, remove_in, module_name)
259 self = obj
260 return getattr(self, attr_name)
261
262 def __setattr__(self, attr_name, value):
263 warn_deprecated(name, use_instead, remove_in, module_name)

Callers

nothing calls this directly

Calls 1

warn_deprecatedFunction · 0.85

Tested by

no test coverage detected