We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
math/tests里面主要包含对Paddle的一些基本算法实现的测试,但是当前构造tests的自由度比较高,基本可以任意书写test case,这导致代码有很多冗余 #385 ,并且导致很多test case阅读起来也比较困难。tests模块的重构是math模块重构的一部分。
math/tests
重构主要解决的问题:
test_matrixCompare.cpp
test_BaseMatrix.cpp
test_Matrix.cpp
test_Vector.cpp
test_SparseMatrix.cpp
The text was updated successfully, but these errors were encountered:
对于第3点,后续Matrix中的API会移到Function中,test case也是按照FunctionCompare来写。
Sorry, something went wrong.
Fix arguments according to 1.3 en + ceil,floor 翻译 +operator 翻译 (Paddl…
69eb340
…ePaddle#695) * Fix arguments according to 1.3 en + ceil,floor trans +operator trans * fix LoDTensorArray spell
[doc develop] update the doc of dygraph qat (PaddlePaddle#695)
44114b9
* update the doc of dygraph qat, test=develop, test=document_fix * up, test=develop, test=document_fix
hedaoyuan
No branches or pull requests
math/tests
里面主要包含对Paddle的一些基本算法实现的测试,但是当前构造tests的自由度比较高,基本可以任意书写test case,这导致代码有很多冗余 #385 ,并且导致很多test case阅读起来也比较困难。tests模块的重构是math模块重构的一部分。重构主要解决的问题:
test_matrixCompare.cpp
中的test case根据被测试的类型对象分到test_BaseMatrix.cpp
,test_Matrix.cpp
,test_Vector.cpp
,test_SparseMatrix.cpp
等不同文件中;test_matrixCompare.cpp
中不能被AutoCompare覆盖的test case,需定义一个新的统一的方式来书写test case,或者有些是需要修改源码实现的。The text was updated successfully, but these errors were encountered: