Searched refs:offsetForMatrix2 (Results 1 – 2 of 2) sorted by relevance
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestMemory.cpp | 52 const uint32_t offsetForMatrix2 = 20; in TEST_F() local 54 static_assert(offsetForMatrix2 + sizeof(matrix2) < offsetForMatrix3, "matrices overlap"); in TEST_F() 55 lseek(fd, offsetForMatrix2, SEEK_SET); in TEST_F() 75 model.setOperandValueFromMemory(e, &weights, offsetForMatrix2, sizeof(Matrix3x4)); in TEST_F() 103 const uint32_t offsetForMatrix2 = 20; in TEST_F() local 120 memcpy((uint8_t*)bufferPtr + offsetForMatrix2, matrix2, sizeof(matrix2)); in TEST_F() 138 model.setOperandValueFromMemory(e, &weights, offsetForMatrix2, sizeof(Matrix3x4)); in TEST_F()
|
D | TestMemoryInternal.cpp | 103 constexpr uint32_t offsetForMatrix2 = 20; in TEST_F() local 104 constexpr uint32_t offsetForMatrix3 = offsetForMatrix2 + sizeof(matrix2) + 30; in TEST_F() 118 memcpy(weightsData + offsetForMatrix2, matrix2, sizeof(matrix2)); in TEST_F() 134 model.setOperandValueFromMemory(e, &weights, offsetForMatrix2, sizeof(Matrix3x4)); in TEST_F()
|