/test/xts/acts/ai/nncore/nncoretest/src/ |
D | HdiTensorTest.cpp | 68 int32_t inputDims[4] = {1, 1, 2, 3}; variable 69 NN_TensorDesc* tensorDesc = createTensorDesc(inputDims, 4, OH_NN_FLOAT32, OH_NN_FORMAT_NCHW); 83 int32_t inputDims[4] = {1, 1, 2, 3}; variable 84 NN_TensorDesc* tensorDesc = createTensorDesc(inputDims, 4, OH_NN_FLOAT32, OH_NN_FORMAT_NCHW); 114 int32_t inputDims[4] = {1, 1, 2, 3}; variable 115 NN_TensorDesc* tensorDesc = createTensorDesc(inputDims, 4, OH_NN_FLOAT32, OH_NN_FORMAT_NCHW); 131 int32_t inputDims[4] = {1, 1, 2, 3}; variable 132 NN_TensorDesc* tensorDesc = createTensorDesc(inputDims, 4, OH_NN_FLOAT32, OH_NN_FORMAT_NCHW); 150 int32_t inputDims[4] = {1, 1, 2, 3}; variable 151 NN_TensorDesc* tensorDesc = createTensorDesc(inputDims, 4, OH_NN_FLOAT32, OH_NN_FORMAT_NCHW); [all …]
|
D | HdiModelTest.cpp | 100 int32_t inputDims[4] = {1, 1, 2, 3}; variable 101 NN_TensorDesc* tensorDesc = createTensorDesc(inputDims, 4, OH_NN_FLOAT32, OH_NN_FORMAT_NCHW); 124 int32_t inputDims[4] = {1, 2, 2, 3}; variable 125 NN_TensorDesc* tensorDesc = createTensorDesc(inputDims, 4, OH_NN_FLOAT32, OH_NN_FORMAT_NCHW); 148 int32_t inputDims[4] = {1, 1, 2, 3}; variable 149 NN_TensorDesc* tensorDesc = createTensorDesc(inputDims, 4, OH_NN_FLOAT32, OH_NN_FORMAT_NCHW); 172 int32_t inputDims[4] = {1, 1, 2, 3}; variable 173 NN_TensorDesc* tensorDesc = createTensorDesc(inputDims, 4, OH_NN_FLOAT32, OH_NN_FORMAT_NCHW); 196 int32_t inputDims[4] = {1, 1, 2, 3}; variable 197 NN_TensorDesc* tensorDesc = createTensorDesc(inputDims, 4, OH_NN_FLOAT32, OH_NN_FORMAT_NCHW); [all …]
|
D | HdiTensorDescTest.cpp | 145 int32_t inputDims[4] = {1, 2, 2, 3}; variable 146 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNTensorDesc_SetShape(nullptr, inputDims, 4)); 199 int32_t inputDims[4] = {1, 2, 2, 3}; variable 200 ASSERT_EQ(OH_NN_SUCCESS, OH_NNTensorDesc_SetShape(tensorDesc, inputDims, 4)); 204 ASSERT_EQ(*inputDims, *shape); 296 int32_t inputDims[4] = {1, 2, 2, 3}; variable 297 ASSERT_EQ(OH_NN_SUCCESS, OH_NNTensorDesc_SetShape(tensorDesc, inputDims, 4)); 337 int32_t inputDims[4] = {1, 2, 2, 3}; variable 339 ASSERT_EQ(OH_NN_SUCCESS, OH_NNTensorDesc_SetShape(tensorDesc, inputDims, 4));
|