/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/inner_model/ |
H A D | nn_tensor_test.cpp | 40 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 D | nn_tensor_test.cpp | 40 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.md | 1 # 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 D | neural__network__runtime_8h.md | 43 … ([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 D | Readme-CN.md | 13 - [OH_NN_Tensor](_o_h___n_n___tensor.md)
|
H A D | neural__network__runtime__type_8h.md | 28 | 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.md | 1 # 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 D | Readme-EN.md | 13 - [OH_NN_Tensor](_o_h___n_n___tensor.md)
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/executor/ |
H A D | executor_test.cpp | 65 OH_NN_Tensor tensor; in SetTensor() 88 …OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR); 110 …OH_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); 155 … OH_NN_Tensor tensor = SetTensor(OH_NN_INT64, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR); 177 …OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR); 199 …OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR); 220 …OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR); 241 …OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR); 388 OH_NN_Tensor tensor; [all …]
|
H A D | executor_test.h | 32 …OH_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 D | executor_test.cpp | 65 OH_NN_Tensor tensor; in SetTensor() 88 …OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR); 110 …OH_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); 155 … OH_NN_Tensor tensor = SetTensor(OH_NN_INT64, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR); 177 …OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR); 199 …OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR); 220 …OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR); 241 …OH_NN_Tensor tensor = SetTensor(OH_NN_FLOAT32, m_dimensionCount, m_dimArry, nullptr, OH_NN_TENSOR); 388 OH_NN_Tensor tensor; [all …]
|
H A D | executor_test.h | 32 …OH_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 D | neural_network_runtime.h | 385 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 D | neural_network_runtime_type.h | 3572 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 D | nnexecutor.h | 64 …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 D | neural_network_runtime_compat.cpp | 29 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 D | nnrt_implementation.h | 38 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 D | nnrt_delegate_kernel.h | 71 OH_NN_QuantParam* nnQuantParam, OH_NN_Tensor& nnTensor); 73 OH_NN_Tensor& nnTensor);
|
H A D | nnrt_op_builder.h | 127 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 D | nnrt_delegate_kernel.cpp | 145 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 D | nnrt_test.cpp | 51 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 D | neural_network_runtime_test.h | 42 OH_NN_Tensor m_tensor;
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.h | 42 OH_NN_Tensor m_tensor;
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/common/ |
H A D | base_test.cpp | 32 OH_NN_Tensor tensor; in TransToNNTensor()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/ |
H A D | neural_network_core_test.h | 42 OH_NN_Tensor m_tensor;
|