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

Method __init__

run_engine.py:42–45  ·  view source on GitHub ↗
(self, timing_iter)

Source from the content-addressed store, hash-verified

40 functionality is not needed
41 """
42 def __init__(self, timing_iter):
43 trt.infer.Profiler.__init__(self)
44 self.timing_iterations = timing_iter
45 self.profile = []
46
47 def report_layer_time(self, layerName, ms):
48 record = next((r for r in self.profile if r[0] == layerName), (None, None))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected