Skip to content

Commit

Permalink
Imports
Browse files Browse the repository at this point in the history
  • Loading branch information
justinchuby committed Oct 13, 2022
1 parent cc1f552 commit e6aeb3a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/onnx/test_utility_funs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import functools
import io
from typing import Callable
import warnings

import onnx
import parameterized
Expand Down Expand Up @@ -157,8 +158,6 @@ def forward(self, x):
self.assertFalse(torch.onnx.is_in_onnx_export())

def test_validate_dynamic_axes_invalid_input_output_name(self):
import warnings

with warnings.catch_warnings(record=True) as w:
warnings.simplefilter("always")
utils._validate_dynamic_axes(
Expand Down

0 comments on commit e6aeb3a

Please sign in to comment.