1. 04 Nov, 2022 2 commits
  2. 02 Nov, 2022 1 commit
    • Ted Themistokleous's avatar
      Change Unsqueeze to squeeze to parse_if for trailing dimensions · b5d1db2e
      Ted Themistokleous authored
      Default to smaller dimension with trailing 1 case instead of unsqueezing to
      the larger dimension.
      
      More analysis on other networks concludes that when putting in two operands to
      and IF block, the output should take the smaller of the shapes instead of the larger
      
      Modified tests in onnx_test.cpp to parse to the correct output as well.
      b5d1db2e
  3. 28 Oct, 2022 2 commits
  4. 27 Oct, 2022 2 commits
  5. 26 Oct, 2022 3 commits
  6. 24 Oct, 2022 1 commit
  7. 21 Oct, 2022 1 commit
    • Ted Themistokleous's avatar
      Fix parse_if to handle multi output constant branches · 2ae4c715
      Ted Themistokleous authored
      - Initial fix to handle scalars on input for empty constant values
      - Using scalar, multibroadcast, contiguous
      - Fixed appropriate unit tests for simple single output constants
      - Added unit tests for multi if outputs.
      
      - TODO - multibroadcast to handle scalar so we don't use scalar
      2ae4c715
  8. 19 Oct, 2022 2 commits
  9. 18 Oct, 2022 3 commits
  10. 17 Oct, 2022 1 commit
    • Ted Themistokleous's avatar
      More review changes/fixes · d8ee02b9
      Ted Themistokleous authored
      - Handle checks for each IF output
      - add const to inputs of all_but_last_dims_equal
      - add std::equal instead of using equal
      - Use .back() for vectors in getting last value
      - Use input().front() instead of prev(prev()) when replacing the last value.
      d8ee02b9
  11. 15 Oct, 2022 1 commit
  12. 14 Oct, 2022 5 commits
  13. 13 Oct, 2022 5 commits
  14. 12 Oct, 2022 2 commits
  15. 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
  16. 07 Oct, 2022 2 commits
    • Ted Themistokleous's avatar
      Simplify unit algebraic ops (#1281) · 4f3cc417
      Ted Themistokleous authored
      Simplified algebraic operations (x*1), x*(-1), x/1, 0+x & x+0,  x-0, 0-x, 0*x, x*0, and 0/x operations
      4f3cc417
    • Ted Themistokleous's avatar
      Get empty shapes working for parse_IF operator · abd3d63e
      Ted Themistokleous authored
      - Update if_then/else_empty test protobuff and cases
      - Need to update rand() vector used
      - Make y empty instead of x for if_else_empty_test.onnx
      - Regenerate protobufs with updates
      - Add changes to handle empty/scalar input branch size to if operator.
      - Add case where if both branches empty throw an error.
      - Update verify tests with gold vectors and new shapes for empty input vec
        which we handle like a scalar before broadcasting
      abd3d63e
  17. 04 Oct, 2022 6 commits