Home
last modified time | relevance | path

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

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