We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 188411f commit 2d603fbCopy full SHA for 2d603fb
onnxscript/_framework_apis/torch_2_8.py
@@ -0,0 +1,21 @@
1
+# Copyright (c) Microsoft Corporation.
2
+# Licensed under the MIT License.
3
+"""Stable APIs for PyTorch 2.7."""
4
+
5
+from __future__ import annotations
6
7
+__all__ = [
8
+ "check_model",
9
+ "convert_version",
10
+ "get_torchlib_ops",
11
+ "optimize",
12
+ "save_model_with_external_data",
13
+]
14
15
+from onnxscript._framework_apis.torch_2_6 import (
16
+ check_model,
17
+ convert_version,
18
+ get_torchlib_ops,
19
+ optimize,
20
+ save_model_with_external_data,
21
+)
0 commit comments