Skip to content

Commit

Permalink
solving lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
nishpoonia committed Dec 20, 2024
1 parent b5c4583 commit e44ffe6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backends/cadence/hifi/operators/op_clamp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,8 @@ Tensor& clamp_tensor_out(
(out_shape[0] * out_shape[1] * out_shape[2] * out_shape[3]) *
sizeof(int));

ET_KERNEL_CHECK(ctx, p_scratch != nullptr, MemoryAllocationFailed, out);
ET_KERNEL_CHECK(
ctx, p_scratch != nullptr, MemoryAllocationFailed, out);

const FLOAT32* p_brd_cond = (const FLOAT32*)p_scratch;
xa_nn_broadcast_32_32(
Expand Down

0 comments on commit e44ffe6

Please sign in to comment.