Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo (inlcude -> include) #61719

Merged
merged 1 commit into from
Feb 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion paddle/phi/kernels/funcs/jit/README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Get all implementations and run once:
}
```

All kernels are inlcuded in `paddle/phi/kernels/funcs/jit/kernels.h`, which is automatically generated in compile time, you can only include this one header to get all the registered kernels.
All kernels are included in `paddle/phi/kernels/funcs/jit/kernels.h`, which is automatically generated in compile time, you can only include this one header to get all the registered kernels.

## Solid Test

Expand Down
4 changes: 2 additions & 2 deletions paddle/phi/kernels/funcs/sequence2batch.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class LoDTensor2BatchFunctor {
lods.size(),
2UL,
phi::errors::InvalidArgument(
"The LoD of LoDTensor should inlcude at least 2-level "
"The LoD of LoDTensor should include at least 2-level "
"sequence information, but got the LoD level is %lu. Please "
"check the input value.",
lods.size()));
Expand Down Expand Up @@ -184,7 +184,7 @@ class Batch2LoDTensorFunctor {
in_lod.size(),
2UL,
phi::errors::InvalidArgument(
"The LoD of LoDTensor should inlcude at least 2-level "
"The LoD of LoDTensor should include at least 2-level "
"sequence information, but got the LoD level is %lu. Please check "
"the input value.",
in_lod.size()));
Expand Down
4 changes: 2 additions & 2 deletions test/legacy_test/test_assign_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def assign_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down Expand Up @@ -359,7 +359,7 @@ def assign_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down
4 changes: 2 additions & 2 deletions test/legacy_test/test_cast_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def cast_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down Expand Up @@ -256,7 +256,7 @@ def cast_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down
4 changes: 2 additions & 2 deletions test/legacy_test/test_concat_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ def concat_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down Expand Up @@ -837,7 +837,7 @@ def concat_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down
24 changes: 12 additions & 12 deletions test/legacy_test/test_elementwise_nn_grad.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class TestElementwiseMulDoubleGradCheck(unittest.TestCase):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
shape = [2, 3, 4, 5]
eps = 0.005
dtype = np.float64
Expand Down Expand Up @@ -58,7 +58,7 @@ class TestElementwiseMulBroadcastDoubleGradCheck(unittest.TestCase):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
shape = [2, 3, 4, 5]
eps = 0.005
dtype = np.float64
Expand Down Expand Up @@ -90,7 +90,7 @@ class TestElementwiseAddDoubleGradCheck(unittest.TestCase):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
shape = [2, 3, 4, 5]
eps = 0.005
dtype = np.float64
Expand Down Expand Up @@ -120,7 +120,7 @@ class TestElementwiseAddBroadcastDoubleGradCheck(unittest.TestCase):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
shape = [2, 3, 4, 5]
eps = 0.005
dtype = np.float64
Expand Down Expand Up @@ -153,7 +153,7 @@ def subtract_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
shape = [2, 3, 4, 5]
eps = 0.005
dtype = np.float64
Expand Down Expand Up @@ -190,7 +190,7 @@ class TestElementwiseSubBroadcastDoubleGradCheck(unittest.TestCase):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
shape = [2, 3, 4, 5]
eps = 0.005
dtype = np.float64
Expand Down Expand Up @@ -223,7 +223,7 @@ def divide_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
shape = [2, 3, 4, 5]
eps = 0.0001
dtype = np.float64
Expand Down Expand Up @@ -262,7 +262,7 @@ class TestElementwiseDivBroadcastDoubleGradCheck(unittest.TestCase):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
shape = [2, 3, 4, 5]
eps = 0.0001
dtype = np.float64
Expand Down Expand Up @@ -295,7 +295,7 @@ class TestElementwiseAddTripleGradCheck(unittest.TestCase):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
shape = [2, 3, 4, 5]
eps = 0.005
dtype = np.float64
Expand Down Expand Up @@ -324,7 +324,7 @@ def test_grad(self):
class TestElementwiseAddBroadcastTripleGradCheck(unittest.TestCase):
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
shape = [2, 3, 4, 5]
eps = 0.005
dtype = np.float64
Expand Down Expand Up @@ -357,7 +357,7 @@ def multiply_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
shape = [2, 3, 4, 5]
eps = 0.005
dtype = np.float64
Expand Down Expand Up @@ -393,7 +393,7 @@ def test_grad(self):
class TestElementwiseMulBroadcastTripleGradCheck(unittest.TestCase):
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
shape = [2, 3, 4, 5]
eps = 0.005
dtype = np.float64
Expand Down
4 changes: 2 additions & 2 deletions test/legacy_test/test_expand_v2_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def expand_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down Expand Up @@ -410,7 +410,7 @@ def expand_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down
4 changes: 2 additions & 2 deletions test/legacy_test/test_flip.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def flip_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down Expand Up @@ -267,7 +267,7 @@ def flip_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down
4 changes: 2 additions & 2 deletions test/legacy_test/test_mean_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def mean_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down Expand Up @@ -603,7 +603,7 @@ def mean_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down
4 changes: 2 additions & 2 deletions test/legacy_test/test_scale_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def scale_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down Expand Up @@ -277,7 +277,7 @@ def scale_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down
4 changes: 2 additions & 2 deletions test/legacy_test/test_slice_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,7 @@ def slice_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down Expand Up @@ -1155,7 +1155,7 @@ def slice_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down
8 changes: 4 additions & 4 deletions test/legacy_test/test_sum_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ def add_n_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down Expand Up @@ -697,7 +697,7 @@ def add_n_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down Expand Up @@ -742,7 +742,7 @@ def sum_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down Expand Up @@ -774,7 +774,7 @@ def sum_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down
4 changes: 2 additions & 2 deletions test/legacy_test/test_tile_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def tile_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down Expand Up @@ -465,7 +465,7 @@ def tile_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down
4 changes: 2 additions & 2 deletions test/legacy_test/test_transpose_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ def transpose_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down Expand Up @@ -781,7 +781,7 @@ def transpose_wrapper(self, x):
@test_with_pir_api
@prog_scope()
def func(self, place):
# the shape of input variable should be clearly specified, not inlcude -1.
# the shape of input variable should be clearly specified, not include -1.
eps = 0.005
dtype = np.float32

Expand Down