MCPcopy Index your code
hub / github.com/NVIDIA/TensorRT-LLM / __len__

Method __len__

tensorrt_llm/module.py:255–256  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

253 return setattr(self, str(idx), module)
254
255 def __len__(self):
256 return len(self._modules)
257
258 def __repr__(self):
259 """Return a custom repr for ModuleList that compresses repeated module representations."""

Callers 1

_create_tensorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected