1. 17 Nov, 2022 2 commits
  2. 13 Nov, 2022 1 commit
    • Charlie Lin's avatar
      Dyn ref multibroadcast; dyn binary (#1423) · d73c6d7c
      Charlie Lin authored
      Updated Multibroadcast op to have a two input version for dynamic shapes
      Current dynamic shape broadcasting logic
      dynamic_dimensions must be the same or one of them is {1, 1, 0} or {1, 1, 1}
      Works for dyn-dyn, dyn-static, and static-static shape combinations
      Changed common.cpp for multibroadcasting for binary ops with dynamic shapes
      Extended binary.hpp for dynamic shapes to test the new common.cpp stuff
      d73c6d7c
  3. 10 Nov, 2022 1 commit
    • Ted Themistokleous's avatar
      Simplify parse_if to remove literal and broadcasting for empty branches · 62c746eb
      Ted Themistokleous authored
      Just grab the last output from the non empty branch and use the identity
      operator to get the proper shape for the output branch. In the case of
      an empty branch (empty tensor, of some type) this tends to mean "Do nothing"
      so we're folding the output of the other flow branch here, and thus if somehow,
      we do reach this at eval, should throw an error signalling either one of two things
      
      1. Onnx model is invalid
      2. The model has run into an error condition with its control flow.
      
      Since IF is an odd operator that can adjust axes, and other operators in a data driven
      fashion, this would serve as a check at compile and or/runtime.
      62c746eb
  4. 04 Nov, 2022 1 commit
    • Ted Themistokleous's avatar
      Refactor parse_if tests to use add_ vs insert_ instructions and fix returns · 638ff250
      Ted Themistokleous authored
      Change things in the test cases so that we're not just replicating what
      the code does but use add_instruction to dictate what we should expect
      for the output of fixing empty const cases.
      
      Had to also switch an insert to add of a literal in the empty case to achieve
      this in parse_if as well.
      
      Moved the return instructions to the end of each subgraph to also fix readability
      of each test.
      638ff250
  5. 02 Nov, 2022 3 commits
  6. 01 Nov, 2022 1 commit
  7. 28 Oct, 2022 1 commit
  8. 27 Oct, 2022 3 commits
  9. 26 Oct, 2022 2 commits
  10. 21 Oct, 2022 2 commits
  11. 20 Oct, 2022 1 commit
    • Ted Themistokleous's avatar
      Add tests for valid multi output shapes going into IF operator · a27808b3
      Ted Themistokleous authored
      Adding test to validate what a "valid" multi input should look like and
      that we correctly handle trailing 1s and correctly sized outputs.
      
      Generated and added the two tests from gen_onnx.py with matching test
      in onnx_test.cpp
      
      -if_then_else_multi_output_shapes_test.onnx
      -if_then_else_multi_output_shapes_test2.onnx
      a27808b3
  12. 19 Oct, 2022 2 commits
  13. 18 Oct, 2022 5 commits
  14. 17 Oct, 2022 5 commits
  15. 14 Oct, 2022 1 commit
  16. 13 Oct, 2022 7 commits
  17. 08 Oct, 2022 1 commit
    • Ted Themistokleous's avatar
      Got model past if sequence but failing unit tests still · ea2d51bf
      Ted Themistokleous authored
      - Gets past to the split section of the resnext model
      - adding outline seems to solve if issues but verify calls broken
      - Referencing wrong element now instead of output of correct if block?
      - Need to determine proper output through verify tests.
      - Modified protobuf to handle case of extra 1 to "vectorize" scalar
      - Modified verify/tests to get things to "work", may need to be revised further.
      ea2d51bf
  18. 07 Oct, 2022 1 commit