未验证 提交 6e9bb9f9 编写于 作者: H HongyuJia 提交者: GitHub

fix typo (#46680)

上级 8c0529fd
...@@ -1947,7 +1947,7 @@ void OperatorWithKernel::ChooseKernel(const ExecutionContext& ctx) const { ...@@ -1947,7 +1947,7 @@ void OperatorWithKernel::ChooseKernel(const ExecutionContext& ctx) const {
expected_kernel_key.library_type_ = LibraryType::kKP; expected_kernel_key.library_type_ = LibraryType::kKP;
kernel_iter = kernels.find(expected_kernel_key); kernel_iter = kernels.find(expected_kernel_key);
// if can't find corresponding kernel when is_xpu_kp_support is on // 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 // error as before
if (kernel_iter == kernels.end()) { if (kernel_iter == kernels.end()) {
expected_kernel_key.library_type_ = expected_kernel_key.library_type_ =
......
...@@ -34,7 +34,7 @@ using float16 = ::phi::dtype::float16; ...@@ -34,7 +34,7 @@ using float16 = ::phi::dtype::float16;
using bfloat16 = ::phi::dtype::bfloat16; using bfloat16 = ::phi::dtype::bfloat16;
using pstring = ::phi::dtype::pstring; 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 { enum class DataType {
UNDEFINED = 0, UNDEFINED = 0,
......
...@@ -884,7 +884,7 @@ def einsum(equation, *operands): ...@@ -884,7 +884,7 @@ def einsum(equation, *operands):
the sum over the original output. the sum over the original output.
- Non-input labels are invalid. - Non-input labels are invalid.
- Duplicate 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. a free label.
- For any free label which is not present for the output, it's lowered to - For any free label which is not present for the output, it's lowered to
a dummy label. a dummy label.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册