Skip to content

Commit 4a349fc

Browse files
committed
Fix
1 parent 07d8320 commit 4a349fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/phi/kernels/impl/matmul_kernel_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2010,7 +2010,7 @@ void MatmulKernel(const Context& dev_ctx,
20102010
if (x.numel() == 0 || y.numel() == 0) {
20112011
// input shape [1, 1, 5, 0], [1, 1, 0, 5], result shape is [1, 1, 5, 5]
20122012
phi::Full<T, Context>(
2013-
ctx, phi::IntArray(common::vectorize(out->dims())), 0, out);
2013+
dev_ctx, phi::IntArray(common::vectorize(out->dims())), 0, out);
20142014
return;
20152015
}
20162016
PADDLE_ENFORCE_GE(

0 commit comments

Comments
 (0)