Home
last modified time | relevance | path

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

/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dnnexecutor.cpp853 … void* deviceInputBuffer = m_device->AllocateTensorBuffer(length, m_inputTensorDescs[index].first); in CreateInputMemory() local
854 if (deviceInputBuffer == nullptr) { in CreateInputMemory()
859 *memory = new(std::nothrow) OH_NN_Memory{deviceInputBuffer, length}; in CreateInputMemory()
862 m_device->ReleaseBuffer(deviceInputBuffer); in CreateInputMemory()
867 m_inputCreatedMem[index].emplace_back(deviceInputBuffer); in CreateInputMemory()