Skip to content

Commit 269d06c

Browse files
Merge branch 'google:main' into main
2 parents 78c9ae0 + caa3eef commit 269d06c

File tree

16 files changed

+7
-20
lines changed

16 files changed

+7
-20
lines changed

docs/examples/jaxonnxruntime-python-api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
# See the License for the specific language governing permissions and
2727
# limitations under the License.
2828
"""Jaxonnxruntime python API example."""
29+
2930
from jaxonnxruntime import backend as jax_backend
3031
import numpy as np
31-
import torch
32-
3332
import onnx
33+
import torch
3434

3535
MODEL_FILE = ".model.onnx"
3636

jaxonnxruntime/backend.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131

3232
import jax
3333
from jaxonnxruntime.core import call_onnx
34-
3534
import onnx
3635

3736

jaxonnxruntime/core/call_onnx.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
from jaxonnxruntime.core import onnx_node
2525
from jaxonnxruntime.core import onnx_utils
2626
import jaxtyping
27-
2827
import onnx
2928
from onnx import helper as onnx_helper
3029

jaxonnxruntime/core/call_onnx_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from jaxonnxruntime.core import config_class
1919
from jaxonnxruntime.onnx_ops import abs
2020
import numpy as np
21-
2221
import onnx
2322

2423

jaxonnxruntime/core/onnx_graph.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
from jaxonnxruntime.core import onnx_node
3636
from jaxonnxruntime.core import onnx_utils
3737
import numpy as np
38-
3938
import onnx
4039

4140

jaxonnxruntime/core/onnx_graph_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
from absl.testing import absltest
1616
from jaxonnxruntime.core import onnx_graph
17-
1817
import onnx
1918

2019
OnnxGraph = onnx_graph.OnnxGraph

jaxonnxruntime/core/onnx_node_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
from absl.testing import absltest
1616
from jaxonnxruntime.core import onnx_node
17-
1817
import onnx
1918

2019

jaxonnxruntime/core/onnx_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
from jax import numpy as jnp
2424
from jaxonnxruntime.core import config_class
2525
import numpy as np
26-
2726
import onnx
2827
from onnx import helper as onnx_helper
2928
from onnx import numpy_helper

jaxonnxruntime/core/onnx_utils_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
from absl.testing import absltest
1616
from jaxonnxruntime.core import onnx_utils
17-
1817
import onnx
1918

2019

jaxonnxruntime/experimental/call_torch/_call_torch.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@
2121
from absl import logging
2222
import jax
2323
from jaxonnxruntime.core import call_onnx
24-
import torch
25-
2624
import onnx
25+
import torch
2726

2827

2928
class TorchONNXExportError(Exception):

0 commit comments

Comments
 (0)