Home
last modified time | relevance | path

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

/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dnncompiler.cpp117 const size_t SIZE_OF_FORMAT = sizeof(SerializedTensorDesc::m_format); variable
800 totalSize += SIZE_OF_FORMAT; in SerializeTensorsToBuffer()
825 memRet = memcpy_s(currentPos, SIZE_OF_FORMAT, &tensorDesc.m_format, SIZE_OF_FORMAT); in SerializeTensorsToBuffer()
831 currentPos += SIZE_OF_FORMAT; in SerializeTensorsToBuffer()
898 memRet = memcpy_s(&desc.m_format, SIZE_OF_FORMAT, ptr, sizeof(desc.m_format)); in DeserializedTensorsFromBuffer()