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

Method __init__

samples/python/efficientdet/build_engine.py:42–50  ·  view source on GitHub ↗

:param cache_file: The location of the cache file.

(self, cache_file)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected