• Brian Pickrell's avatar
    fix parse_instancenorm to create broadcast and multibroadcast instruc… (#1715) · 41ba30d5
    Brian Pickrell authored
    * fix parse_instancenorm to create broadcast and multibroadcast instructions with two dynamic shape arguments instead of 1.  Their make_op() functions don't support dynamic shapes when called with one input.  This caused an error when parsing an ONNX 3duunet model
    
    * Use add_common_op() to create multibroadcast op.
    
    * add verification and parsing test for instance_norm with dynamic input.  Parse test doesn't pass.
    
    * fix for test; still doesn't pass
    
    * another fix for test; still doesn't pass
    
    * work in progress, instance_norm_dyn_batch_test works but instance_norm_test doesn't
    
    * fix onnx instancenorm tests to match parser changes.  Passes all check tests
    
    * Updated comments explaining usage of add_common_op()
    
    * hand-merged conflicts with develop
    
    * fix instance_norm_half_test after merge
    
    * add Onnx test instance_norm_dyn_batch_half_test
    
    * add shape test cases broadcast_1in_dyn_error and multibroadcast_1in_dyn_error_0
    41ba30d5
onnx_parser.cpp 20.1 KB