Skip to content

Add inference report for both simulator and evb. #2013

Add inference report for both simulator and evb.

Add inference report for both simulator and evb. #2013

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Test Results failed Aug 21, 2023 in 0s

3 029 fail, 537 pass in 4m 4s

3 566 tests      537 ✔️  4m 4s ⏱️
       1 suites         0 💤
       1 files    3 029

Results for commit cd3b06d.

Annotations

Check warning on line 0 in tests.importer.onnx_.basic.test_acosh

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_acosh[in_shape0] (tests.importer.onnx_.basic.test_acosh) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16]
request = <FixtureRequest for <Function test_acosh[in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    def test_acosh(in_shape, request):
        model_def = _make_module(in_shape)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_acosh.py:95: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_and

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_and[in_shape0] (tests.importer.onnx_.basic.test_and) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [[1, 3, 16, 16], [1]]
request = <FixtureRequest for <Function test_and[in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    def test_and(in_shape, request):
        model_def = _make_module(in_shape[0], in_shape[1])
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_and.py:81: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_and

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_and[in_shape1] (tests.importer.onnx_.basic.test_and) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [[1, 3, 16, 16], [16]]
request = <FixtureRequest for <Function test_and[in_shape1]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    def test_and(in_shape, request):
        model_def = _make_module(in_shape[0], in_shape[1])
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_and.py:81: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_and

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_and[in_shape2] (tests.importer.onnx_.basic.test_and) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [[1, 3, 16, 16], [1, 16]]
request = <FixtureRequest for <Function test_and[in_shape2]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    def test_and(in_shape, request):
        model_def = _make_module(in_shape[0], in_shape[1])
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_and.py:81: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_and

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_and[in_shape3] (tests.importer.onnx_.basic.test_and) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [[1, 3, 16, 16], [1, 16, 16]]
request = <FixtureRequest for <Function test_and[in_shape3]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    def test_and(in_shape, request):
        model_def = _make_module(in_shape[0], in_shape[1])
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_and.py:81: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_and

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_and[in_shape4] (tests.importer.onnx_.basic.test_and) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [[1, 1, 16, 16], [3, 3, 1, 16]]
request = <FixtureRequest for <Function test_and[in_shape4]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    def test_and(in_shape, request):
        model_def = _make_module(in_shape[0], in_shape[1])
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_and.py:81: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-None-None-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = None, keepdim = None, select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-None-None-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-None-0-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = 0, keepdim = None, select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-None-0-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-None-1-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = 1, keepdim = None, select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-None-1-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-None-2-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = 2, keepdim = None, select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-None-2-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-None-3-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = 3, keepdim = None, select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-None-3-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-None--1-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = -1, keepdim = None, select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-None--1-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-None--2-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = -2, keepdim = None, select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-None--2-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-None--3-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = -3, keepdim = None, select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-None--3-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-None--4-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = -4, keepdim = None, select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-None--4-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-True-None-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = None, keepdim = True, select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-True-None-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-True-0-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = 0, keepdim = True, select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-True-0-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-True-1-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = 1, keepdim = True, select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-True-1-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-True-2-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = 2, keepdim = True, select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-True-2-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-True-3-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = 3, keepdim = True, select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-True-3-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-True--1-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = -1, keepdim = True, select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-True--1-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-True--2-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = -2, keepdim = True, select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-True--2-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-True--3-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = -3, keepdim = True, select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-True--3-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-True--4-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = -4, keepdim = True, select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-True--4-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError

Check warning on line 0 in tests.importer.onnx_.basic.test_argmax

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_argmax[None-False-None-in_shape0] (tests.importer.onnx_.basic.test_argmax) failed

test_results/onnx_basic.xml [took 0s]
Raw output
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
in_shape = [1, 3, 16, 16], axis = None, keepdim = False
select_last_index = None
request = <FixtureRequest for <Function test_argmax[None-False-None-in_shape0]>>

    @pytest.mark.parametrize('in_shape', in_shapes)
    @pytest.mark.parametrize('axis', axes)
    @pytest.mark.parametrize('keepdim', keepdims)
    @pytest.mark.parametrize('select_last_index', select_last_indices)
    def test_argmax(in_shape, axis, keepdim, select_last_index, request):
        model_def = _make_module(in_shape, axis, keepdim, select_last_index)
    
        runner = OnnxTestRunner(request.node.name)
        model_file = runner.from_onnx_helper(model_def)
>       runner.run(model_file)

tests/importer/onnx_/basic/test_argmax.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/onnx_test_runner.py:58: in run
    super().run(model_file)
tests/test_runner.py:269: in run
    dump_dict_to_json(self.infer_dict, self.infer_file)
tests/test_utils.py:39: in dump_dict_to_json
    if os.path.exists(json_file):
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = None

    def exists(path):
        """Test whether a path exists.  Returns False for broken symbolic links"""
        try:
>           os.stat(path)
E           TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/genericpath.py:19: TypeError