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

Method __init__

tools/Polygraphy/tests/test_examples.py:34–36  ·  view source on GitHub ↗
(self, matches_start_func=None, matches_end_func=None)

Source from the content-addressed store, hash-verified

32
33class Marker:
34 def __init__(self, matches_start_func=None, matches_end_func=None):
35 self.matches_start = util.default(matches_start_func, lambda line: line == self.start)
36 self.matches_end = util.default(matches_end_func, lambda line: line == self.end)
37
38 @staticmethod
39 def from_name(name):

Callers

nothing calls this directly

Calls 1

defaultMethod · 0.45

Tested by

no test coverage detected