MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / __getattr__

Method __getattr__

tensorpack/utils/develop.py:173–175  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

171 return module
172
173 def __getattr__(self, item):
174 module = self._load()
175 return getattr(module, item)
176
177 def __dir__(self):
178 module = self._load()

Callers

nothing calls this directly

Calls 1

_loadMethod · 0.95

Tested by

no test coverage detected