Searched refs:numModelCache (Results 1 – 12 of 12) sorted by relevance
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/ |
D | NumberOfCacheFiles.aidl | 37 int numModelCache;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
D | NumberOfCacheFiles.aidl | 37 int numModelCache;
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | Device.cpp | 75 V1_0::ErrorStatus status, uint32_t numModelCache, uint32_t numDataCache) { in numberOfCacheFilesNeededCallback() argument 77 if (numModelCache > nn::kMaxNumberOfCacheFiles) { in numberOfCacheFilesNeededCallback() 80 << numModelCache << " vs " << nn::kMaxNumberOfCacheFiles << ")"; in numberOfCacheFilesNeededCallback() 87 return std::make_pair(numModelCache, numDataCache); in numberOfCacheFilesNeededCallback()
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Device.cpp | 107 if (numberOfCacheFiles.numDataCache < 0 || numberOfCacheFiles.numModelCache < 0) { in getNumberOfCacheFilesNeededFrom() 110 if (static_cast<uint32_t>(numberOfCacheFiles.numModelCache) > nn::kMaxNumberOfCacheFiles) { in getNumberOfCacheFilesNeededFrom() 113 << numberOfCacheFiles.numModelCache << " vs " in getNumberOfCacheFilesNeededFrom() 122 return std::make_pair(numberOfCacheFiles.numModelCache, numberOfCacheFiles.numDataCache); in getNumberOfCacheFilesNeededFrom()
|
D | InvalidDevice.cpp | 60 .numModelCache = 0, in create() 150 if (modelCache.size() != static_cast<size_t>(kNumberOfCacheFiles.numModelCache)) { in prepareModel()
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | BasicTests.cpp | 122 [](ErrorStatus status, uint32_t numModelCache, uint32_t numDataCache) { in TEST_P() argument 124 EXPECT_LE(numModelCache, in TEST_P()
|
D | CompilationCachingTests.cpp | 240 [this](ErrorStatus status, uint32_t numModelCache, uint32_t numDataCache) { in SetUp() argument 242 mNumModelCache = numModelCache; in SetUp()
|
/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | DeviceTest.cpp | 61 constexpr NumberOfCacheFiles kNumberOfCacheFiles = {.numModelCache = nn::kMaxNumberOfCacheFiles - 1, 314 kNumberOfCacheFiles.numModelCache, kNumberOfCacheFiles.numDataCache); in TEST() 339 .numModelCache = nn::kMaxNumberOfCacheFiles + 1, in TEST() 357 .numModelCache = nn::kMaxNumberOfCacheFiles, in TEST()
|
/hardware/interfaces/neuralnetworks/1.2/ |
D | IDevice.hal | 157 * @return numModelCache An unsigned integer indicating how many files for model cache 165 generates (ErrorStatus status, uint32_t numModelCache, uint32_t numDataCache); 237 * or match the numModelCache returned from getNumberOfCacheFilesNeeded. The cache 322 * the vector must match the numModelCache returned from getNumberOfCacheFilesNeeded.
|
/hardware/interfaces/neuralnetworks/utils/adapter/src/ |
D | Device.cpp | 444 const auto [numModelCache, numDataCache] = kDevice->getNumberOfCacheFilesNeeded(); in getNumberOfCacheFilesNeeded() 445 cb(V1_0::ErrorStatus::NONE, numModelCache, numDataCache); in getNumberOfCacheFilesNeeded()
|
/hardware/interfaces/neuralnetworks/1.3/ |
D | IDevice.hal | 172 * not provided, or match the numModelCache returned from 283 * the vector must match the numModelCache returned from getNumberOfCacheFilesNeeded.
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | CompilationCachingTests.cpp | 242 mNumModelCache = numCacheFiles.numModelCache; in SetUp()
|