Fixed build break caused by BMitra's commit bc641e4224
This commit is contained in:
Родитель
752b35ced3
Коммит
fd4e859dc2
|
@ -38,7 +38,7 @@ namespace CNTKMathTest
|
|||
}
|
||||
|
||||
DenseMatrix DM1 = DM0.ColumnSlice(start, numCols);
|
||||
DenseMatrix DM2 = SM0.ColumnSlice(start, numCols);
|
||||
DenseMatrix DM2 = SM0.ColumnSliceToDense(start, numCols);
|
||||
|
||||
Assert::IsTrue(DM1.IsEqualTo(DM2, 0.0001));
|
||||
}
|
||||
|
|
|
@ -410,11 +410,11 @@ namespace CNTKMathTest
|
|||
SM0.SetValue(M0);
|
||||
|
||||
GPUMatrix<float> M1 = M0.ColumnSlice(0, 2);
|
||||
GPUMatrix<float> SM1 = SM0.ColumnSlice(0, 2);
|
||||
GPUMatrix<float> SM1 = SM0.ColumnSliceToDense(0, 2);
|
||||
Assert::IsTrue(M1.IsEqualTo(SM1, 0.0001f));
|
||||
|
||||
GPUMatrix<float> M2 = M0.ColumnSlice(1, 2);
|
||||
GPUMatrix<float> SM2 = SM0.ColumnSlice(1, 2);
|
||||
GPUMatrix<float> SM2 = SM0.ColumnSliceToDense(1, 2);
|
||||
Assert::IsTrue(M2.IsEqualTo(SM2, 0.0001f));
|
||||
|
||||
Assert::IsFalse(M1.IsEqualTo(SM2, 0.0001f));
|
||||
|
|
Загрузка…
Ссылка в новой задаче