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

Method call_impl

tools/Polygraphy/polygraphy/backend/trt_legacy.py:44–48  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

42
43 @util.check_called_by("__call__")
44 def call_impl(self):
45 input_names = list(self.shapes.keys())
46 input_shapes = list(self.shapes.values())
47 with open(self.path, "rb") as f:
48 return f.read(), input_names, input_shapes, self.outputs
49
50
51class ConvertToUff(BaseLoader):

Callers 1

call_implMethod · 0.45

Calls 3

readMethod · 0.80
keysMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected