Skip to content

Commit

Permalink
fix mea get pad no default return bug (#54647)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuizhiqing committed Jun 15, 2023
1 parent e93e48e commit 0abd9ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions paddle/phi/kernels/funcs/get_pad_lse.cu.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ phi::DenseTensor get_pad_lse(const phi::GPUContext& dev_ctx,
ViewSliceHelper<T><<<grid, block, 0, dev_ctx.stream()>>>(
in_data, stride, in_dim[2], out_second_dim);
return *lse;
} else {
return *lse;
}
}
} // namespace funcs
Expand Down

0 comments on commit 0abd9ff

Please sign in to comment.