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

Method _get_file_list

tools/Polygraphy/tests/test_examples.py:153–154  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

151 self.original_files = []
152
153 def _get_file_list(self):
154 return [path for path in glob.iglob(os.path.join(self.path, "*")) if "__pycache__" not in path]
155
156 def _remove_artifacts(self, must_exist=True):
157 for artifact in self.artifacts:

Callers 2

__enter__Method · 0.95
__exit__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected