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

Method __init__

samples/python/detectron2/build_engine.py:41–49  ·  view source on GitHub ↗

:param cache_file: The location of the cache file.

(self, cache_file)

Source from the content-addressed store, hash-verified

39 """
40
41 def __init__(self, cache_file):
42 """
43 :param cache_file: The location of the cache file.
44 """
45 super().__init__()
46 self.cache_file = cache_file
47 self.image_batcher = None
48 self.batch_allocation = None
49 self.batch_generator = None
50
51 def set_image_batcher(self, image_batcher: ImageBatcher):
52 """

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected