Skip to content

Commit afa0679

Browse files
committed
Fixed tests for contract
Former-commit-id: d08be8a
1 parent 1b68f09 commit afa0679

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test-nodes.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ struct NodeTest {
3636
std::vector<float> param_filter1_vals = {1.1f,2.2f,-1.0f,1.2f,-3.4f,-0.2f,
3737
11.1f,12.2f,13.3f,11.2f,12.2f,13.2f};
3838
std::vector<float> param_square1_vals = {1.1f,2.2f,3.4f,1.2f,2.5f,3.2f,5.3f,2.3f,3.3f};
39-
std::vector<float> param_cube1_vals = {1.1f,2.2f,3.3f,1.2f,2.2f,3.2f,1.3f,2.3f,3.3f,
40-
11.1f,12.2f,13.3f,11.2f,12.2f,13.2f,11.3f,12.3f,13.3f,
41-
21.1f,22.2f,23.3f,21.2f,22.2f,23.2f,21.3f,22.3f,23.3f};
39+
std::vector<float> param_cube1_vals = {.011f,.022f,.033f,.012f,.022f,.032f,.013f,.023f,.033f,
40+
.111f,-.122f,-.033f,-.112f,-.022f,-.132f,-.113f,-.123f,-.133f,
41+
.211f,.222f,.233f,.212f,.222f,.232f,.213f,.223f,.233f};
4242
param1 = mod.add_parameters({3});
4343
TensorTools::SetElements(param1.get()->values,param1_vals);
4444
param2 = mod.add_parameters({3});

0 commit comments

Comments
 (0)