Home
last modified time | relevance | path

Searched refs:inputDims (Results 1 – 3 of 3) sorted by relevance

/test/xts/acts/ai/nncore/nncoretest/src/
DHdiTensorTest.cpp68 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 …]
DHdiModelTest.cpp100 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 …]
DHdiTensorDescTest.cpp145 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));