Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
resolve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JiangZhaoh committed Jan 21, 2020
1 parent aed63e2 commit 7df0e89
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/python/unittest/test_numpy_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,9 +429,6 @@ def hybrid_forward(self, F, a, b):
return F.np.matmul(a, b)

def matmul_backward(a, b):
if (a.ndim < 1) or (b.ndim < 1):
raise ValueError('An input is zero-dim')

def ShapeInfer(mat_a, mat_b):
if mat_a.ndim == 1:
mat_a = mat_a.reshape((1, mat_a.size))
Expand Down

0 comments on commit 7df0e89

Please sign in to comment.