[Tests] Update operator tests forwardDims/forward for scalars
Activate previously commented tests on scalars for elementwise operators: Test_[Div|Mul|Sub|Pow]_Op.cpp. Add scalar test for Test_MatMul_Op.cpp. Add negative scalar tests for Test_[Concat|Transpose]Impl.cpp. Update implementations forward/forwardDims of operators Concat|Transpose|MatMul to assert on unexpected scalar inputs.
parent
cb0748a7
No related branches found
No related tags found
Showing
- src/operator/Concat.cpp 1 addition, 7 deletionssrc/operator/Concat.cpp
- src/operator/MatMul.cpp 3 additions, 0 deletionssrc/operator/MatMul.cpp
- src/operator/Transpose.cpp 1 addition, 0 deletionssrc/operator/Transpose.cpp
- unit_tests/operator/Test_ConcatImpl.cpp 9 additions, 1 deletionunit_tests/operator/Test_ConcatImpl.cpp
- unit_tests/operator/Test_Div_Op.cpp 48 additions, 48 deletionsunit_tests/operator/Test_Div_Op.cpp
- unit_tests/operator/Test_MatMul_Op.cpp 15 additions, 15 deletionsunit_tests/operator/Test_MatMul_Op.cpp
- unit_tests/operator/Test_Mul_Op.cpp 48 additions, 48 deletionsunit_tests/operator/Test_Mul_Op.cpp
- unit_tests/operator/Test_Pow_Op.cpp 48 additions, 48 deletionsunit_tests/operator/Test_Pow_Op.cpp
- unit_tests/operator/Test_Sub_Op.cpp 48 additions, 48 deletionsunit_tests/operator/Test_Sub_Op.cpp
- unit_tests/operator/Test_TransposeImpl.cpp 11 additions, 1 deletionunit_tests/operator/Test_TransposeImpl.cpp
Loading
Please register or sign in to comment