• Ted Themistokleous's avatar
    Add test files, protobufs and verification tests that capture errors with IF operator · 7c8c3bee
    Ted Themistokleous authored
    - Verification tests that test each then/else branches for parsed IF operator
    - Testing empty shape tensors for one branch -> output must be the other branch's shape
    - Testing trailing 1 shape for one branch -> output must be union of both inputs
    
    Current issue with IF operator is that we can't handle training vectors that match
    in size correclty while also running into issues with empty inputs for one of the
    branches for size/type checks.
    7c8c3bee
onnx_test.cpp 240 KB