Export the PyTorch model to ONNX
Usetorch.onnx.export to convert the PyTorch model to ONNX format:
Convert a PyTorch model to LiteRT format for deployment on Qualcomm Dragonwing IoT platforms using the PyTorch → ONNX → TensorFlow → LiteRT conversion path.
torch.onnx.export to convert the PyTorch model to ONNX format: