Skip to content

Commit a6cbffc

Browse files
committed
Merge branch 'm23' into m27
2 parents 3e6b770 + 1620aa0 commit a6cbffc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

paddle/fluid/pybind/imperative.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ void BindImperative(py::module *m_ptr) {
753753
// c++
754754
// STL and python set/list/dict involve a copy operation that
755755
// prevents pass-by-reference semantics, so it is ok to swap.
756-
// The reaseon why not directly pass
756+
// The reason why not directly pass
757757
// std::shared_ptr<std::unordered_set<std::string>>
758758
// is that pybind11 forbid shared_ptr<T> where T is not custom
759759
// type.

test/ipu/test_warpctc_op_ipu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def setUp(self):
3030
self.set_op_attrs()
3131

3232
def set_training(self):
33-
# ctcloss only support training currently.
33+
# ctc_loss only support training currently.
3434
self.is_training = True
3535
self.epoch = 1
3636

test/legacy_test/test_warpctc_op.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ def test_class_api(self):
681681

682682
np.testing.assert_allclose(loss_pd, loss_np, rtol=1e-05, atol=1)
683683

684-
def test_eager_ctcloss(self):
684+
def test_eager_ctc_loss(self):
685685
def test_functional_api():
686686
self.batch_size = 4
687687
self.num_classes = CUDA_BLOCK_SIZE + 2

0 commit comments

Comments
 (0)