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

Function main

samples/python/efficientnet/build_engine.py:223–234  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

221
222
223def main(args):
224 builder = EngineBuilder(args.verbose)
225 builder.create_network(args.onnx)
226 builder.create_engine(
227 args.engine,
228 args.precision,
229 args.calib_input,
230 args.calib_cache,
231 args.calib_num_images,
232 args.calib_batch_size,
233 args.calib_preprocessor,
234 )
235
236
237if __name__ == "__main__":

Callers 1

build_engine.pyFile · 0.70

Calls 3

create_networkMethod · 0.95
create_engineMethod · 0.95
EngineBuilderClass · 0.70

Tested by

no test coverage detected