diff --git a/paddle/fluid/framework/operator.cc b/paddle/fluid/framework/operator.cc index 072a1a846ce7c1baec5ec2b403ecbb055a65086c..f6988f002c5d7c15426cac04fd0edc4ba2b4bf77 100644 --- a/paddle/fluid/framework/operator.cc +++ b/paddle/fluid/framework/operator.cc @@ -1947,7 +1947,7 @@ void OperatorWithKernel::ChooseKernel(const ExecutionContext& ctx) const { expected_kernel_key.library_type_ = LibraryType::kKP; kernel_iter = kernels.find(expected_kernel_key); // if can't find corresponding kernel when is_xpu_kp_support is on - // if the fluid do not register related kernel, it can't work and hava + // if the fluid do not register related kernel, it can't work and have // error as before if (kernel_iter == kernels.end()) { expected_kernel_key.library_type_ = diff --git a/paddle/phi/common/data_type.h b/paddle/phi/common/data_type.h index e9dc01687ec4bf21218016da9ff3323e7d436ddd..d1cd0f69f2becc4a242fed4562964ad3ecd1afe1 100644 --- a/paddle/phi/common/data_type.h +++ b/paddle/phi/common/data_type.h @@ -34,7 +34,7 @@ using float16 = ::phi::dtype::float16; using bfloat16 = ::phi::dtype::bfloat16; using pstring = ::phi::dtype::pstring; -// The enum valuea are consistent with jit/property.proto +// The enum value are consistent with jit/property.proto enum class DataType { UNDEFINED = 0, diff --git a/python/paddle/tensor/einsum.py b/python/paddle/tensor/einsum.py index 99ab768e4769007e2670e4b6db6de49339c1aefb..dff4e4d13f3e3f009505214ce0717506953e0ba4 100644 --- a/python/paddle/tensor/einsum.py +++ b/python/paddle/tensor/einsum.py @@ -884,7 +884,7 @@ def einsum(equation, *operands): the sum over the original output. - Non-input labels are invalid. - Duplicate labels are invalid. - - For any dummmy label which is present for the output, it's promoted to + - For any dummy label which is present for the output, it's promoted to a free label. - For any free label which is not present for the output, it's lowered to a dummy label.