Skip to content

Commit 9b7bdbc

Browse files
committed
Update unit test.
1 parent f35fa43 commit 9b7bdbc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/ParallelReverseAutoDiff.Test/CudaMatrixMultiplyOperationTest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ public async Task Forward_GivenTwoMatricesCreatedOnTheMainThread_MultipliesThemO
1616
CudaMatrixMultiplyOperation op = new CudaMatrixMultiplyOperation();
1717
Matrix? c = null;
1818
Matrix a = new Matrix(100, 100);
19+
a.Initialize(InitializationType.Xavier);
1920
Matrix b = new Matrix(100, 1);
21+
b.Initialize(InitializationType.He);
2022
await Task.Run(() =>
2123
{
2224
c = op.Forward(a, b);

0 commit comments

Comments
 (0)