Home
last modified time | relevance | path

Searched refs:unsignedDimensions (Results 1 – 2 of 2) sorted by relevance

/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriver.cpp283 const auto unsignedDimensions = toUnsigned(dimensions); in copyFrom() local
284 if (!unsignedDimensions.has_value()) { in copyFrom()
286 unsignedDimensions.error().message); in copyFrom()
288 const auto status = copyFromInternal(src, unsignedDimensions.value(), kBuffer); in copyFrom()
293 kBuffer->updateDimensions(unsignedDimensions.value()); in copyFrom()
355 const auto unsignedDimensions = toUnsigned(outputShapes[i].dimensions).value(); in updateDeviceMemories() local
356 if (!bufferWrappers[poolIndex]->updateDimensions(unsignedDimensions)) { in updateDeviceMemories()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDevice.cpp257 const auto unsignedDimensions = ::android::nn::toUnsigned(dimensions); in copyFrom() local
258 if (!unsignedDimensions.has_value()) { in copyFrom()
260 unsignedDimensions.error().message); in copyFrom()
263 if (!validateDimensions(unsignedDimensions.value())) { in copyFrom()
333 auto unsignedDimensions = ::android::nn::toUnsigned(desc.dimensions).value(); in allocate() local
335 unsignedDimensions.data()) != in allocate()