Skip to content

Extend shape inference tests to cover older opset versions #4160

@jcwchen

Description

@jcwchen

Feature Request

What is the problem that this feature solves?

Shape inference tests for older opset versions will be replaced with newer opset version if there is a opset bump. The reason is shape_inference_test.py relies on onnx.helper and it will always use the latest opset version to create the ONNX models for testing. Therefore, ONNX should extend the test to cover shape inference test for older opset versions as well.

Describe the alternatives you have considered

A clear and concise description of any alternative solutions or features you've considered

Describe the feature

Why is this feature necessary? What does it accomplish?

Will this influence the current api?

No

Feature Area

Which area in ONNX does this impact? (e.g. model usage, backend, best practices, converters, shape_inference, version_converter, training, test, operators): test for shape inference

Are you willing to contribute it (Y/N):

Y

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions