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

Function mergeRow

samples/trtexec/profiler.py:114–125  ·  view source on GitHub ↗

Merge reference and target profile results into a single row

(reference, profile, diff)

Source from the content-addressed store, hash-verified

112
113
114def mergeRow(reference, profile, diff):
115 """Merge reference and target profile results into a single row"""
116
117 row = {}
118 if profile:
119 row = profile
120 if reference:
121 addReference(row, reference)
122 if diff:
123 row["% difference"] = diff
124
125 return row
126
127
128def alignData(reference, profile, threshold):

Callers 1

alignDataFunction · 0.85

Calls 1

addReferenceFunction · 0.85

Tested by

no test coverage detected