Add a pass to remove unsupported data types (#738)
* Add eliminate_data_type pass * Formatting * Auto convert quant ops * Formatting * Flip the order of decompose * Compute max size differently * Formatting * Clamp values in convert * Formatting * Fix loss of precision in reduce * Formatting * Fix bugs in reduction * Fix accumulator type in reference softmax implementation * Formatting * Update convert test * Remove unused variables * Remove unnecessary quant_dot check * Formatting * Add tests * Formatting * Remove unused code * Remove duplicate ops * Remove blaze dependency * Use set since shape::type_t is no hashable on gcc 5 * Formatting Co-authored-by:Shucai Xiao <shucai@gmail.com> Co-authored-by:
mvermeulen <5479696+mvermeulen@users.noreply.github.com>
Showing
src/targets/cpu/lowering.cpp
100644 → 100755
src/targets/cpu/pooling.cpp
100644 → 100755
src/targets/cpu/relu.cpp
100644 → 100755
src/targets/cpu/target.cpp
100755 → 100644
test/op_shape_test.cpp
100644 → 100755
test/verify/test_convert.cpp
100644 → 100755
Please register or sign in to comment