The unit test in testMatrix.py and testVector.py failed.
Created by: qingqing01
The unit test in paddle/api/test/testMatrix.py
and paddle/api/test/testVector.py
failed.
I0220 19:57:16.991760 27431 Util.cpp:160] commandline: --use_gpu=0
...E...
======================================================================
ERROR: test_numpyCpu (__main__.TestMatrix)
----------------------------------------------------------------------
Traceback (most recent call last):
File "paddle/api/test/testMatrix.py", line 71, in test_numpyCpu
m = swig_paddle.Matrix.createCpuDenseFromNumpy(numpy_mat, copy=False)
TypeError: createCpuDenseFromNumpy() got an unexpected keyword argument 'copy'
----------------------------------------------------------------------
Ran 7 tests in 0.206s
FAILED (errors=1)
...E...
======================================================================
ERROR: test_numpyCpu (__main__.TestMatrix)
----------------------------------------------------------------------
Traceback (most recent call last):
File "paddle/api/test/testMatrix.py", line 71, in test_numpyCpu
m = swig_paddle.Matrix.createCpuDenseFromNumpy(numpy_mat, copy=False)
TypeError: createCpuDenseFromNumpy() got an unexpected keyword argument 'copy'
----------------------------------------------------------------------
Ran 7 tests in 0.003s
FAILED (errors=1)