pytorch/torch/onnx/utils.py
Maggie Moss 27302a4932 Fix error suppression syntax in onnx, jit, _dynamo (#166249)
Ensures pyrefly will only silence one specific error code

pyrefly check
lintrunner

Pull Request resolved: https://github.com/pytorch/pytorch/pull/166249
Approved by: https://github.com/oulgen
2025-10-27 02:01:54 +00:00

10 lines
233 B
Python

"""Backward compatibility module for torch.onnx.utils."""
from __future__ import annotations
__all__: list[str] = []
# pyrefly: ignore [deprecated]
from torch.onnx._internal.torchscript_exporter.utils import * # noqa: F401,F403