Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
jakpiase committed May 25, 2021
1 parent 5af7681 commit 7bcee8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/fluid/operators/cast_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class CastOp : public framework::OperatorWithKernel {
int dtype_fp32 = static_cast<int>(framework::proto::VarType::FP32);
int dtype_bf16 = static_cast<int>(framework::proto::VarType::BF16);

if ((in_dtype != dtype_fp32 && in_dtype != dtype_bf16) or
if ((in_dtype != dtype_fp32 && in_dtype != dtype_bf16) ||
(out_dtype != dtype_fp32 && out_dtype != dtype_bf16))
return false;

Expand Down

1 comment on commit 7bcee8e

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.