Skip to content

Commit 2ed3b1c

Browse files
committed
Extract data for verifyEqual
1 parent 0de614f commit 2ed3b1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/transformer/layer/tconvolution1d.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function hasExpectedValue(test,Input)
1818
b = dlarray(Input.b);
1919
z_exp = fullyconnect(x,W,b,'DataFormat','CBT');
2020
z_act = test.convolution1d(x,W,b);
21-
test.verifyEqual(z_act, z_exp, 'AbsTol', 1e-10);
21+
test.verifyEqual(extractdata(z_act), extractdata(z_exp), 'AbsTol', 1e-10);
2222
end
2323
end
2424
end

0 commit comments

Comments
 (0)