@@ -936,7 +936,7 @@ void BindVjp(pybind11::module *m) {
936936 PADDLE_ENFORCE_EQ (inputs[idx].size (),
937937 vjp_res[grad_index].size (),
938938 common::errors::InvalidArgument (
939- " The size of inouts [%d] should be the "
939+ " The size of inputs [%d] should be the "
940940 " same as vjp_res[%d] size." ,
941941 idx,
942942 grad_index));
@@ -1385,7 +1385,7 @@ PYBIND11_MODULE(libpaddle, m) {
13851385 Return the registered kernels in paddle.
13861386
13871387 Args:
1388- lib[string]: the libarary , could be 'phi', 'fluid' and 'all'.
1388+ lib[string]: the library , could be 'phi', 'fluid' and 'all'.
13891389 )DOC" );
13901390
13911391 m.def (
@@ -1437,7 +1437,7 @@ PYBIND11_MODULE(libpaddle, m) {
14371437 Return the registered kernels in phi.
14381438
14391439 Args:
1440- kernel_registered_type[string]: the libarary , could be 'function', 'structure', and 'all'.
1440+ kernel_registered_type[string]: the library , could be 'function', 'structure', and 'all'.
14411441 )DOC" );
14421442
14431443 // NOTE(Aganlengzi): KernelFactory static instance is initialized BEFORE
@@ -1825,7 +1825,7 @@ All parameter, weight, gradient are variables in Paddle.
18251825 VLOG (3 ) << " need skip: " << need_skip << std::endl;
18261826 if (paddle::prim::PrimCommonUtils::IsBwdPrimEnabled ()) {
18271827 if ((grad_comp_op_maker != nullptr ) && (!need_skip)) {
1828- VLOG (3 ) << " Prim Flag Open: Runing composite grad fun for "
1828+ VLOG (3 ) << " Prim Flag Open: Running composite grad fun for "
18291829 << op_desc.Type ();
18301830 grad_op_descs = grad_comp_op_maker (op_desc,
18311831 no_grad_set,
@@ -1838,12 +1838,12 @@ All parameter, weight, gradient are variables in Paddle.
18381838 }
18391839 } else {
18401840 if (grad_op_maker != nullptr ) {
1841- VLOG (6 ) << " Prim Flag Close: Runing origin grad fun for "
1841+ VLOG (6 ) << " Prim Flag Close: Running origin grad fun for "
18421842 << op_desc.Type ();
18431843 grad_op_descs = grad_op_maker (
18441844 op_desc, no_grad_set, &grad_to_var, grad_sub_block);
18451845 } else {
1846- VLOG (6 ) << " Prim Flag Close: Runing composite grad fun for "
1846+ VLOG (6 ) << " Prim Flag Close: Running composite grad fun for "
18471847 << op_desc.Type ();
18481848 grad_op_descs = grad_comp_op_maker (op_desc,
18491849 no_grad_set,
0 commit comments