Home
last modified time | relevance | path

Searched refs:OH_NN_Format (Results 1 – 25 of 38) sorted by relevance

12

/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/
H A Dtensor_desc.h33 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 Dtensor_desc.cpp72 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 Dvalidation.h38 bool ValidateTensorFormat(OH_NN_Format format);
H A Dvalidation.cpp29 bool ValidateTensorFormat(OH_NN_Format format) in ValidateTensorFormat()
H A Dcpp_type.h78 OH_NN_Format format;
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dtransform.cpp84 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 Dnn_tensor.h55 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 Dtransform.h42 mindspore::lite::Format TransformFormat(OH_NN_Format type);
51 OH_NN_Format TransformFormat(mindspore::lite::Format msFormat);
H A Dhdi_prepared_model_v1_0.cpp57 V1_0::Format TransFormat(const OH_NN_Format& format) in TransFormat()
129 OH_NN_Format format; in TransIOTensor()
H A Dhdi_prepared_model_v2_0.cpp58 V2_0::Format TransFormat(const OH_NN_Format& format) in TransFormat()
130 OH_NN_Format format; in TransIOTensor()
H A Dhdi_prepared_model_v2_1.cpp58 V2_1::Format TransFormat(const OH_NN_Format& format) in TransFormat()
130 OH_NN_Format format; in TransIOTensor()
H A Dnn_tensor.cpp349 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 Dnn_validation_test.cpp75 OH_NN_Format forMat = (OH_NN_Format)forMatTest;
H A Dnn_tensor_desc_test.cpp76 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 Dneural_network_core.h533 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 Dneural_network_runtime_type.h265 } OH_NN_Format; typedef
/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/
H A Dneural__network__runtime__type_8h.md48 | 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.md49 | 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.md49 | 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 Dneural__network__core_8h.md50 …_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 Dneural_network_runtime_inner.h36 OH_NN_Format format;
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/transform/
H A Dtransform_test.cpp256 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 Dtransform_test.cpp256 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 Dneural__network__runtime__type_8h.md48 | 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 Dneural_network_core_test.cpp1188 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;

12