Skip to content

Commit

Permalink
fix_equal (#8347)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxiaohehe001 authored Feb 4, 2022
1 parent a2c4b60 commit 536ee2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lite/kernels/metal/image_op/compare_image_compute.mm
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
bool should_use_mps = false;
if (@available(iOS 12.1, *)) {
if (metal_context_->use_mps()) {
should_use_mps = true;
if (input_buffer_x_->tensor_dim_[0] == 1) should_use_mps = true;
}
}

Expand Down

0 comments on commit 536ee2a

Please sign in to comment.