Lines Matching refs:Matrix3x4
26 typedef float Matrix3x4[3][4]; typedef
35 const Matrix3x4 matrix1 = {{1.f, 2.f, 3.f, 4.f}, {5.f, 6.f, 7.f, 8.f}, {9.f, 10.f, 11.f, 12.f}};
36 const Matrix3x4 matrix2 = {{100.f, 200.f, 300.f, 400.f},
40 const Matrix3x4 matrix3 = {
42 const Matrix3x4 expected2 = {{101.f, 202.f, 303.f, 404.f},
45 const Matrix3x4 expected2b = {{101.f, 202.f, 303.f, 404.f},
48 const Matrix3x4 expected2c = {{100.f, 400.f, 900.f, 1600.f},
52 const Matrix3x4 expected3 = {{121.f, 232.f, 343.f, 454.f},
55 const Matrix3x4 expected3b = {
75 void CreateAddThreeTensorModel(Model* model, const Matrix3x4 bias) { in CreateAddThreeTensorModel()
84 model->setOperandValue(e, bias, sizeof(Matrix3x4)); in CreateAddThreeTensorModel()
94 int CompareMatrices(const Matrix3x4& expected, const Matrix3x4& actual) { in CompareMatrices()
113 Matrix3x4 actual; in TEST_F()
118 ASSERT_EQ(execution.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
119 ASSERT_EQ(execution.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
120 ASSERT_EQ(execution.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
142 Matrix3x4 actual; in TEST_F()
147 ASSERT_EQ(execution.setInputFromMemory(0, &matrix1Memory, 0, sizeof(Matrix3x4)), in TEST_F()
149 ASSERT_EQ(execution.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
150 ASSERT_EQ(execution.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
186 Matrix3x4 actual; in TEST_F()
191 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
192 ASSERT_EQ(execution2.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
193 ASSERT_EQ(execution2.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
202 ASSERT_EQ(execution3.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
203 ASSERT_EQ(execution3.setInput(1, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
204 ASSERT_EQ(execution3.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
215 Matrix3x4 output1, output2; in TEST_F()
221 ASSERT_EQ(execution1.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
222 ASSERT_EQ(execution1.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
223 ASSERT_EQ(execution1.setOutput(0, output1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
232 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
233 ASSERT_EQ(execution2.setInput(1, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
234 ASSERT_EQ(execution2.setOutput(0, output2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
269 Matrix3x4 actual; in TEST_F()
274 ASSERT_EQ(execution.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
276 ASSERT_EQ(execution.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
298 Matrix3x4 actual; in TEST_F()
303 ASSERT_EQ(execution.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
305 ASSERT_EQ(execution.setOutput(0, actual, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()