Searched refs:weightsSize (Results 1 – 1 of 1) sorted by relevance
/frameworks/ml/nn/runtime/test/ |
D | TestMemoryInternal.cpp | 105 constexpr uint32_t weightsSize = offsetForMatrix3 + sizeof(matrix3) + 60; in TEST_F() local 107 int weightsFd = ASharedMemory_create("weights", weightsSize); in TEST_F() 110 (uint8_t*)mmap(nullptr, weightsSize, PROT_READ | PROT_WRITE, MAP_SHARED, weightsFd, 0); in TEST_F() 114 WrapperMemory weights(weightsSize, PROT_READ | PROT_WRITE, weightsFd, 0); in TEST_F() 173 munmap(weightsData, weightsSize); in TEST_F()
|