/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/ |
H A D | tensor_desc.h | 33 OH_NN_ReturnCode GetFormat(OH_NN_Format* format) const; 34 OH_NN_ReturnCode SetFormat(OH_NN_Format format); 47 OH_NN_Format m_format {OH_NN_FORMAT_NONE};
|
H A D | tensor_desc.cpp | 72 OH_NN_ReturnCode TensorDesc::GetFormat(OH_NN_Format* format) const in GetFormat() 82 OH_NN_ReturnCode TensorDesc::SetFormat(OH_NN_Format format) in SetFormat()
|
H A D | validation.h | 38 bool ValidateTensorFormat(OH_NN_Format format);
|
H A D | validation.cpp | 29 bool ValidateTensorFormat(OH_NN_Format format) in ValidateTensorFormat()
|
H A D | cpp_type.h | 78 OH_NN_Format format;
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | transform.cpp | 84 mindspore::lite::Format NNToMS::TransformFormat(OH_NN_Format type) in TransformFormat() 171 OH_NN_Format MSToNN::TransformFormat(mindspore::lite::Format msFormat) in TransformFormat() 174 return OH_NN_Format::OH_NN_FORMAT_NHWC; in TransformFormat() 176 return OH_NN_Format::OH_NN_FORMAT_NCHW; in TransformFormat() 179 return OH_NN_Format::OH_NN_FORMAT_NONE; in TransformFormat()
|
H A D | nn_tensor.h | 55 void SetFormat(const OH_NN_Format& format); 70 OH_NN_Format GetFormat() const; 91 OH_NN_Format m_format {OH_NN_FORMAT_NHWC};
|
H A D | transform.h | 42 mindspore::lite::Format TransformFormat(OH_NN_Format type); 51 OH_NN_Format TransformFormat(mindspore::lite::Format msFormat);
|
H A D | hdi_prepared_model_v1_0.cpp | 57 V1_0::Format TransFormat(const OH_NN_Format& format) in TransFormat() 129 OH_NN_Format format; in TransIOTensor()
|
H A D | hdi_prepared_model_v2_0.cpp | 58 V2_0::Format TransFormat(const OH_NN_Format& format) in TransFormat() 130 OH_NN_Format format; in TransIOTensor()
|
H A D | hdi_prepared_model_v2_1.cpp | 58 V2_1::Format TransFormat(const OH_NN_Format& format) in TransFormat() 130 OH_NN_Format format; in TransIOTensor()
|
H A D | nn_tensor.cpp | 349 void NNTensor::SetFormat(const OH_NN_Format& format) in SetFormat() 414 OH_NN_Format NNTensor::GetFormat() const in GetFormat()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/inner_model/ |
H A D | nn_validation_test.cpp | 75 OH_NN_Format forMat = (OH_NN_Format)forMatTest;
|
H A D | nn_tensor_desc_test.cpp | 76 OH_NN_Format* testformat = nullptr; 88 OH_NN_Format testformat = OH_NN_FORMAT_NCHW;
|
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/ |
H A D | neural_network_core.h | 533 OH_NN_ReturnCode OH_NNTensorDesc_SetFormat(NN_TensorDesc *tensorDesc, OH_NN_Format format); 550 OH_NN_ReturnCode OH_NNTensorDesc_GetFormat(const NN_TensorDesc *tensorDesc, OH_NN_Format *format);
|
H A D | neural_network_runtime_type.h | 265 } OH_NN_Format; typedef
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | neural__network__runtime__type_8h.md | 48 | typedef enum [OH_NN_Format](_neural_network_runtime.md#oh_nn_format) [OH_NN_Format](_neural_netw… 67 | [OH_NN_Format](_neural_network_runtime.md#oh_nn_format) { OH_NN_FORMAT_NONE = 0, OH_NN_FORMAT_NCH…
|
H A D | _neural_network_runtime.md | 49 | typedef enum [OH_NN_Format](#oh_nn_format) [OH_NN_Format](#oh_nn_format) | 张量数据的排布类型。 | 68 | [OH_NN_Format](#oh_nn_format) { OH_NN_FORMAT_NONE = 0, OH_NN_FORMAT_NCHW = 1, OH_NN_FORMAT_NHWC =… 101 …tensordesc_setformat) ([NN_TensorDesc](#nn_tensordesc) \*tensorDesc, [OH_NN_Format](#oh_nn_format)… 271 ### OH_NN_Format subsection 274 typedef enum OH_NN_Format OH_NN_Format 523 ### OH_NN_Format subsection 526 enum OH_NN_Format 2897 OH_NN_ReturnCode OH_NNTensorDesc_GetFormat (const NN_TensorDesc *tensorDesc, OH_NN_Format *format ) 2904 调用该接口获取指定[NN_TensorDesc](#nn_tensordesc)实例的数据布局[OH_NN_Format](#oh_nn_format)。 3014 OH_NN_ReturnCode OH_NNTensorDesc_SetFormat (NN_TensorDesc *tensorDesc, OH_NN_Format format ) [all …]
|
H A D | _neural_nework_runtime.md | 49 | typedef enum [OH_NN_Format](#oh_nn_format) [OH_NN_Format](#oh_nn_format) | 张量数据的排布类型。 | 68 | [OH_NN_Format](#oh_nn_format) { OH_NN_FORMAT_NONE = 0, OH_NN_FORMAT_NCHW = 1, OH_NN_FORMAT_NHWC =… 101 …tensordesc_setformat) ([NN_TensorDesc](#nn_tensordesc) \*tensorDesc, [OH_NN_Format](#oh_nn_format)… 271 ### OH_NN_Format subsection 274 typedef enum OH_NN_Format OH_NN_Format 523 ### OH_NN_Format subsection 526 enum OH_NN_Format 2897 OH_NN_ReturnCode OH_NNTensorDesc_GetFormat (const NN_TensorDesc *tensorDesc, OH_NN_Format *format ) 2904 调用该接口获取指定[NN_TensorDesc](#nn_tensordesc)实例的数据布局[OH_NN_Format](#oh_nn_format)。 3014 OH_NN_ReturnCode OH_NNTensorDesc_SetFormat (NN_TensorDesc *tensorDesc, OH_NN_Format format ) [all …]
|
H A D | neural__network__core_8h.md | 50 …_TensorDesc](_neural_network_runtime.md#nn_tensordesc) \*tensorDesc, [OH_NN_Format](_neural_networ… 51 …_TensorDesc](_neural_network_runtime.md#nn_tensordesc) \*tensorDesc, [OH_NN_Format](_neural_networ…
|
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/innerkits/c/ |
H A D | neural_network_runtime_inner.h | 36 OH_NN_Format format;
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/transform/ |
H A D | transform_test.cpp | 256 OH_NN_Format format = OH_NN_FORMAT_NCHW; 268 OH_NN_Format format = OH_NN_FORMAT_NHWC; 280 OH_NN_Format format = OH_NN_FORMAT_NONE;
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/transform/ |
H A D | transform_test.cpp | 256 OH_NN_Format format = OH_NN_FORMAT_NCHW; 268 OH_NN_Format format = OH_NN_FORMAT_NHWC; 280 OH_NN_Format format = OH_NN_FORMAT_NONE;
|
/ohos5.0/docs/en/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | neural__network__runtime__type_8h.md | 48 | typedef enum [OH_NN_Format](_neural_network_runtime.md#oh_nn_format) [OH_NN_Format](_neural_netw… 67 | [OH_NN_Format](_neural_network_runtime.md#oh_nn_format) { OH_NN_FORMAT_NONE = 0, OH_NN_FORMAT_NCH…
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/ |
H A D | neural_network_core_test.cpp | 1188 OH_NN_Format format = static_cast<OH_NN_Format>(OH_NN_FLOAT32); 1201 OH_NN_Format format = static_cast<OH_NN_Format>(OH_NN_FLOAT32); 1214 OH_NN_Format* format = nullptr; 1227 OH_NN_Format* format = nullptr; 1240 OH_NN_Format format = OH_NN_FORMAT_NONE;
|