Home
last modified time | relevance | path

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

/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dnncompiler.cpp119 const size_t SIZE_OF_SHAPE_NUM = sizeof(SerializedTensorDesc::m_shapeNum); variable
802 totalSize += SIZE_OF_SHAPE_NUM; in SerializeTensorsToBuffer()
841 memRet = memcpy_s(currentPos, SIZE_OF_SHAPE_NUM, &tensorDesc.m_shapeNum, SIZE_OF_SHAPE_NUM); in SerializeTensorsToBuffer()
847 currentPos += SIZE_OF_SHAPE_NUM; in SerializeTensorsToBuffer()
914 memRet = memcpy_s(&desc.m_shapeNum, SIZE_OF_SHAPE_NUM, ptr, sizeof(desc.m_shapeNum)); in DeserializedTensorsFromBuffer()