diff --git a/ivy/functional/frontends/torch/__init__.py b/ivy/functional/frontends/torch/__init__.py index e6b0dc2ad28e..895753562e59 100644 --- a/ivy/functional/frontends/torch/__init__.py +++ b/ivy/functional/frontends/torch/__init__.py @@ -281,6 +281,7 @@ def promote_types_of_torch_inputs( from . import special from . import tensor from . import _VF +from . import onnx from . import jit from . import overrides from . import _C diff --git a/ivy/functional/frontends/torch/onnx/__init__.py b/ivy/functional/frontends/torch/onnx/__init__.py new file mode 100644 index 000000000000..34555d50d7be --- /dev/null +++ b/ivy/functional/frontends/torch/onnx/__init__.py @@ -0,0 +1,11 @@ + +def disable_log(): + pass + + +def enable_log(): + pass + + +def is_in_onnx_export(): + return False