Home
last modified time | relevance | path

Searched refs:OH_NN_Tensor (Results 1 – 25 of 48) sorted by relevance

12

/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/inner_model/
H A Dnn_tensor_test.cpp40 OH_NN_Tensor tensor {OH_NN_FLOAT32, 2, dim, nullptr, OH_NN_TENSOR};
53 OH_NN_Tensor tensor;
72 OH_NN_Tensor tensor {OH_NN_FLOAT32, 2, dim, nullptr, OH_NN_TENSOR};
86 OH_NN_Tensor tensor {OH_NN_FLOAT32, 2, dim, nullptr, OH_NN_TENSOR};
100 OH_NN_Tensor tensor {OH_NN_FLOAT32, 2, dim, nullptr, OH_NN_TENSOR};
189 OH_NN_Tensor tensor {OH_NN_FLOAT32, 2, dim, nullptr, OH_NN_TENSOR};
205 OH_NN_Tensor tensor {OH_NN_FLOAT32, 2, dim, nullptr, OH_NN_TENSOR};
221 OH_NN_Tensor tensor {OH_NN_FLOAT32, 2, dim, nullptr, OH_NN_TENSOR};
238 OH_NN_Tensor tensor {OH_NN_FLOAT32, 2, dim, nullptr, OH_NN_TENSOR};
410 OH_NN_Tensor tensor {dataType, 2, dim, nullptr, OH_NN_TENSOR};
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/inner_model/
H A Dnn_tensor_test.cpp40 OH_NN_Tensor tensor {OH_NN_FLOAT32, 2, dim, nullptr, OH_NN_TENSOR};
53 OH_NN_Tensor tensor;
72 OH_NN_Tensor tensor {OH_NN_FLOAT32, 2, dim, nullptr, OH_NN_TENSOR};
86 OH_NN_Tensor tensor {OH_NN_FLOAT32, 2, dim, nullptr, OH_NN_TENSOR};
100 OH_NN_Tensor tensor {OH_NN_FLOAT32, 2, dim, nullptr, OH_NN_TENSOR};
189 OH_NN_Tensor tensor {OH_NN_FLOAT32, 2, dim, nullptr, OH_NN_TENSOR};
205 OH_NN_Tensor tensor {OH_NN_FLOAT32, 2, dim, nullptr, OH_NN_TENSOR};
221 OH_NN_Tensor tensor {OH_NN_FLOAT32, 2, dim, nullptr, OH_NN_TENSOR};
238 OH_NN_Tensor tensor {OH_NN_FLOAT32, 2, dim, nullptr, OH_NN_TENSOR};
410 OH_NN_Tensor tensor {dataType, 2, dim, nullptr, OH_NN_TENSOR};
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/
H A D_o_h___n_n___tensor.md1 # OH_NN_Tensor chapter
39 OH_NN_DataType OH_NN_Tensor::dataType
50 uint32_t OH_NN_Tensor::dimensionCount
61 const int32_t* OH_NN_Tensor::dimensions
72 const OH_NN_QuantParam* OH_NN_Tensor::quantParam
83 OH_NN_TensorType OH_NN_Tensor::type
H A Dneural__network__runtime_8h.md43 … ([OH_NNModel](_neural_network_runtime.md#oh_nnmodel) \*model, const [OH_NN_Tensor](_o_h___n_n___t…
44 …ork_runtime.md#oh_nnexecutor) \*executor, uint32_t inputIndex, const [OH_NN_Tensor](_o_h___n_n___t…
51 …ork_runtime.md#oh_nnexecutor) \*executor, uint32_t inputIndex, const [OH_NN_Tensor](_o_h___n_n___t…
H A DReadme-CN.md13 - [OH_NN_Tensor](_o_h___n_n___tensor.md)
H A Dneural__network__runtime__type_8h.md28 | struct [OH_NN_Tensor](_o_h___n_n___tensor.md) | 张量结构体。 |
55 | typedef struct [OH_NN_Tensor](_o_h___n_n___tensor.md) [OH_NN_Tensor](_neural_network_runtime.md#…
/ohos5.0/docs/en/application-dev/reference/apis-neural-network-runtime-kit/
H A D_o_h___n_n___tensor.md1 # OH_NN_Tensor chapter
39 OH_NN_DataType OH_NN_Tensor::dataType
50 uint32_t OH_NN_Tensor::dimensionCount
61 const int32_t* OH_NN_Tensor::dimensions
72 const OH_NN_QuantParam* OH_NN_Tensor::quantParam
83 OH_NN_TensorType OH_NN_Tensor::type
H A DReadme-EN.md13 - [OH_NN_Tensor](_o_h___n_n___tensor.md)
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/executor/
H A Dexecutor_test.cpp65 OH_NN_Tensor tensor; in SetTensor()
88OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR);
110OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR);
133 OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, &dim, nullptr, OH_NN_TENSOR);
155OH_NN_Tensor tensor = SetTensor(OH_NN_INT64, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR);
177OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR);
199OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR);
220OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR);
241OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR);
388 OH_NN_Tensor tensor;
[all …]
H A Dexecutor_test.h32OH_NN_Tensor SetTensor(OH_NN_DataType dataType, uint32_t dimensionCount, const int32_t *dimensions,
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/executor/
H A Dexecutor_test.cpp65 OH_NN_Tensor tensor; in SetTensor()
88OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR);
110OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR);
133 OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, &dim, nullptr, OH_NN_TENSOR);
155OH_NN_Tensor tensor = SetTensor(OH_NN_INT64, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR);
177OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR);
199OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR);
220OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR);
241OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR);
388 OH_NN_Tensor tensor;
[all …]
H A Dexecutor_test.h32OH_NN_Tensor SetTensor(OH_NN_DataType dataType, uint32_t dimensionCount, const int32_t *dimensions,
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/
H A Dneural_network_runtime.h385 OH_NN_ReturnCode OH_NNModel_AddTensor(OH_NNModel *model, const OH_NN_Tensor *tensor);
425 const OH_NN_Tensor *tensor,
605 const OH_NN_Tensor *tensor,
H A Dneural_network_runtime_type.h3572 typedef struct OH_NN_Tensor { struct
3587 } OH_NN_Tensor; argument
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dnnexecutor.h64 …OH_NN_ReturnCode SetInput(uint32_t index, const OH_NN_Tensor& nnTensor, const void* buffer, size_t…
65 …OH_NN_ReturnCode SetInputFromMemory(uint32_t index, const OH_NN_Tensor& nnTensor, const OH_NN_Memo…
87 OH_NN_ReturnCode BuildInputTensor(uint32_t index, const OH_NN_Tensor& nnTensor,
93 OH_NN_ReturnCode CheckInputDimRanges(uint32_t index, const OH_NN_Tensor& nnTensor) const;
H A Dneural_network_runtime_compat.cpp29 NNRT_API OH_NN_ReturnCode OH_NNModel_AddTensor(OH_NNModel *model, const OH_NN_Tensor *tensor) in OH_NNModel_AddTensor()
46 uint32_t inputIndex, const OH_NN_Tensor *tensor, const void *dataBuffer, size_t length) in OH_NNExecutor_SetInput()
195 uint32_t inputIndex, const OH_NN_Tensor *tensor, const OH_NN_Memory *memory) in OH_NNExecutor_SetInputWithMemory()
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/nnrt/
H A Dnnrt_implementation.h38 OH_NN_ReturnCode (*OH_NNModel_AddTensor)(OH_NNModel* model, const OH_NN_Tensor* nnTensor);
64 const OH_NN_Tensor* nnTensor, const void* buffer, size_t length);
75 const OH_NN_Tensor* nnTensor, const OH_NN_Memory* memory);
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/
H A Dnnrt_delegate_kernel.h71 OH_NN_QuantParam* nnQuantParam, OH_NN_Tensor& nnTensor);
73 OH_NN_Tensor& nnTensor);
H A Dnnrt_op_builder.h127 OH_NN_Tensor tensor { in AddScalarTensor()
166 OH_NN_Tensor tensor { in AddVectorTensor()
281 …TfLiteStatus TransposeDepthwiseTensor(int32_t tensorIndex, OH_NN_Tensor& nnTensor, std::vector<int…
286 OH_NN_QuantParam& nnQuantParam, OH_NN_Tensor& nnTensor);
H A Dnnrt_delegate_kernel.cpp145 OH_NN_Tensor inputNnTensor; in Invoke()
290 …const std::pair<int32_t, int32_t>& indexPair, OH_NN_QuantParam* nnQuantParam, OH_NN_Tensor& nnTens… in ConvertTensorTypeToNn()
323 OH_NNExecutor* pNnExecution, OH_NN_Tensor& nnTensor) in SetInputTensors()
/ohos5.0/foundation/ai/neural_network_runtime/test/system_test/common/
H A Dnnrt_test.cpp51 OH_NN_Tensor tensor; in AddTensors()
140 OH_NN_Tensor tensor = m_tensors[m_inputs[index]]; in SetInput()
173 OH_NN_Tensor tensor = m_tensors[m_inputs[index]]; in SetInputFromMemory()
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/
H A Dneural_network_runtime_test.h42 OH_NN_Tensor m_tensor;
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/
H A Dneural_network_runtime_test.h42 OH_NN_Tensor m_tensor;
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/common/
H A Dbase_test.cpp32 OH_NN_Tensor tensor; in TransToNNTensor()
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/
H A Dneural_network_core_test.h42 OH_NN_Tensor m_tensor;

12