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 1a58a2e commit 885bfb0Copy full SHA for 885bfb0
1 file changed
test/single_layer/test_tensor.cpp
@@ -255,6 +255,6 @@ TEST(TensorTest, IncorrectBiasSize) {
255
Shape shape({2, 3});
256
std::vector<float> values = {1, 2, 3, 4, 5, 6};
257
std::vector<float> incorrect_bias = {1.0f, 2.0f};
258
- EXPECT_THROW(Tensor tensor = make_tensor(values, shape, incorrect_bias),
+ EXPECT_NO_THROW(Tensor tensor = make_tensor(values, shape, incorrect_bias),
259
std::invalid_argument);
260
}
0 commit comments