morpheus.config.ConfigOnnxToTRT

class ConfigOnnxToTRT(input_model=None, output_model=None, batches=<factory>, seq_length=None, max_workspace_size=16000)[source]

Bases: morpheus.config.ConfigBase

Configuration class for the OnnxToTRT migration process.

Parameters
input_model

Input ONNX model file.

output_model

Output TensorRT model file.

batches

Batches of input data.

seq_length

Sequence length.

max_workspace_size

Maximum workspace size, default 16000 MB.

Attributes
input_model

Input ONNX model file.

output_model

Output TensorRT model file.

seq_length

Sequence length.

Previous morpheus.config.ConfigFIL
Next morpheus.config.CppConfig
© Copyright 2024, NVIDIA. Last updated on Apr 25, 2024.