Skip to content

Commit

Permalink
Merge pull request #3980 from qingqing01/lookup-table-fix
Browse files Browse the repository at this point in the history
Fix name in test_lookup_table
  • Loading branch information
qingqing01 authored Sep 8, 2017
2 parents 544458e + 4c68405 commit 8f6aaf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/paddle/v2/framework/tests/test_lookup_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from gradient_checker import GradientChecker, create_op


class TestSigmoidOp(unittest.TestCase):
class TestLookupTableOp(unittest.TestCase):
__metaclass__ = OpTestMeta

def setUp(self):
Expand All @@ -15,7 +15,7 @@ def setUp(self):
self.outputs = {'Out': table[ids]}


class TestSigmoidGradOp(GradientChecker):
class TestLookupTableGradOp(GradientChecker):
def test_grad(self):
op = create_op('lookup_table')
table = np.random.random((17, 31)).astype('float32')
Expand Down

0 comments on commit 8f6aaf7

Please sign in to comment.