Home
last modified time | relevance | path

Searched defs:SerializedTensorDesc (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dnncompiler.cpp39 struct SerializedTensorDesc { struct
44 …Code CopyFromTensorDesc(const std::pair<std::shared_ptr<TensorDesc>, OH_NN_TensorType>& tensorDesc) in CopyFromTensorDesc()
79 OH_NN_ReturnCode CopyToTensorDesc(TensorDesc& tensorDesc) const in CopyToTensorDesc()
108 OH_NN_DataType m_dataType{OH_NN_UNKNOWN};
109 OH_NN_Format m_format{OH_NN_FORMAT_NONE};
110 OH_NN_TensorType m_tensorType{OH_NN_TENSOR};
111 size_t m_shapeNum{0};
112 int32_t* m_shape{nullptr};
113 const char* m_name{nullptr}; // null-terminated