[ONNX] Initial support for dynamic shapes (#4197)
* Switch to PartialShape in onnx_importer ValueInfo * Construct dynamic dimensions out of ONNX dimensions defined as dim_param * Validate the PartialShape of inputs created from an ONNX model with dynamic shapes * Validate the output shape inference for a dynamic ONNX model * Test the execution of an ONNX model with dynamic dimensions * Test the Ax+B with more than one batch size * Provenance tagging adjustments - PartialShape instead of Shape * Correct translation of ONNX shapes to nG shapes * Test the shape of Constant produced by scalar initializers * Review comments & more strict assertions in UT * UT checking a dynamic rank input * Fully dynamic input inference test * ONNX provenance tags adjustments and back to get_shape * Remove an obsolete space in provenance tags Co-Authored-By: Michał Karzyński <postrational@users.noreply.github.com> * Remove an obsolete space in provenance tests Co-authored-by: Michał Karzyński <postrational@users.noreply.github.com> Co-authored-by: Scott Cyphers <diyessi@users.noreply.github.com>
Showing
Please
register
or
sign in
to comment