Skip to content

Commit

Permalink
Update test_corr.py
Browse files Browse the repository at this point in the history
  • Loading branch information
liqitong-a committed May 5, 2022
1 parent 51da5d6 commit 2255acf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/paddle/fluid/tests/unittests/test_corr.py
Expand Up @@ -26,7 +26,7 @@ def numpy_corr(np_arr, rowvar=True, dtype='float64'):

class Corr_Test(unittest.TestCase):
def setUp(self):
self.shape = [20, 10]
self.shape = [4, 5]

def test_tensor_corr_default(self):
typelist = ['float64', 'float32']
Expand Down Expand Up @@ -84,13 +84,13 @@ def setUp(self):

class Corr_Test3(Corr_Test):
def setUp(self):
self.shape = [20, 10]
self.shape = [4, 5]


# Input(x) only support N-D (1<=N<=2) tensor
class Corr_Test4(unittest.TestCase):
def setUp(self):
self.shape = [2, 5, 10]
self.shape = [2, 5, 2]

def test_errors(self):
def test_err():
Expand Down

0 comments on commit 2255acf

Please sign in to comment.