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

Method __init__

demo/HuggingFace/BART/export.py:370–371  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

368
369class BARTEncoderConverter(ModelFileConverter):
370 def __init__(self):
371 super().__init__(BARTEncoderTorchFile, BARTEncoderONNXFile, BARTEncoderTRTEngine)
372
373 def torch_to_onnx(
374 self, output_fpath: str, model: Module, network_metadata: NetworkMetadata

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected