We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce32599 commit b18d5a8Copy full SHA for b18d5a8
paddle/function/CosSimOpGpu.cu
@@ -92,7 +92,6 @@ void CosSimForward<DEVICE_TYPE_GPU>(GpuMatrix& out_mat,
92
CHECK(in1_mat.useGpu_ == true && in2_mat.useGpu_ == true)
93
<< "Matrix type are not GPU";
94
95
- size_t num_samples = out_mat.getHeight();
96
size_t dim = in1_mat.getWidth();
97
real* out = out_mat.getData();
98
const real* x = in1_mat.getData();
0 commit comments