- 08 Aug, 2022 1 commit
-
-
Ted Themistokleous authored
* Imply type of literal returned based on input protobuff for zero element constant values. This saves us the default behavior as the onnx parsing assumes that every zero value is float. This way we're still grabbing relevant type information from the protobuff instead and wont fail our data type checks for if them/else blocks from onnx * Revert "Imply type of literal returned based on input protobuff for zero element constant values." This reverts commit 390bb853 . * Add test case to parse in empty constant int64 proto buffer I think the previous test case was aliasing an issue where we default to float but need to actually read in int64 instead of int32 * fixup! Add test case to parse in empty constant int64 proto buffer * Add test for non empty int64 scalar Add one item in the np array to use for the constant we're parsing in. * Draft partial fix * Fix test failures from previous change to read in protobuf data types correctly for empty constants. Instead of assuming things are empty and thus we default to float, reading in the correct types broke some assumptions code was using for an empty literal. * Fix formatting and naming * Fix naming with var in constant_one_val_int64_test Co-authored-by:
charlie <charlie.lin@amd.com> Co-authored-by:
kahmed10 <15948690+kahmed10@users.noreply.github.com>
-
- 22 Jun, 2022 1 commit
-
-
Ted Themistokleous authored
Updated each source file in the repo with the existing license.
-
- 19 Dec, 2020 1 commit
-
-
Paul Fultz II authored
* Load op when serializing * Formatting * Add missing clip field * Use make_op almost everywhere * Formatting * More make ops for rnns * Get rid of spaces * Formatting * Remove operators headers * Formatting * Remove unused op headers * Increase line threshold * Refactor onnx_parser class * Formatting * Add op_parser * Formatting * Remove old onnx drivers * Use file GLOB * Parse arg ops * Formatting * Add pooling * Formatting * Add parse_natchnorm * Add more operators * Formatting * Add more operators * Formatting * Add more operators * Formatting * Add more operators * Add rnn operators * Formatting * Fix tidy issues * Formatting * Add back missing param * Formatting * Fix shadow variable * Fix shadow in declaration * Make global constant * Formatting * Add generic op * Formatting * Add binary op * Formatting * Add variadiac op * Formatting * Remove unused fields and functions * Set default values * Formatting * Remove unused member variable * Add add literal overload * Use info.add_literal * Formatting * Call add_instruction through info class * Fix tidy issues * Formatting Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-