Home
last modified time | relevance | path

Searched defs:shape (Results 1 – 17 of 17) sorted by relevance

/test/xts/acts/ai/neural_network_runtime/neural_network_core/entry/src/main/cpp/
DNeuralNetworkCoreTest.cpp205 int shape[] = {SHAPE_VALUE_32, SHAPE_VALUE_28, SHAPE_VALUE_28}; in NNTensorDesc_SetShapeA() local
216 int shape[] = {SHAPE_VALUE_32, SHAPE_VALUE_28, SHAPE_VALUE_28}; in NNTensorDesc_SetShapeB() local
245 int shape[] = {SHAPE_VALUE_32, SHAPE_VALUE_28, SHAPE_VALUE_28}; in NNTensorDesc_SetShapeD() local
260 int *shape = nullptr; in NNTensorDesc_GetShapeA() local
272 int *shape = nullptr; in NNTensorDesc_GetShapeB() local
303 int *shape = nullptr; in NNTensorDesc_GetShapeD() local
383 int shape[] = {SHAPE_VALUE_32, SHAPE_VALUE_28, SHAPE_VALUE_28}; in NNTensorDesc_GetElementCountA() local
400 int shape[] = {SHAPE_VALUE_32, SHAPE_VALUE_28, SHAPE_VALUE_28}; in NNTensorDesc_GetElementCountB() local
420 int shape[] = {SHAPE_VALUE_32, SHAPE_VALUE_28, SHAPE_VALUE_28}; in NNTensorDesc_GetElementCountC() local
441 int *shape = static_cast<int *>(std::malloc(sizeof(int) * SHAPE_SIZE)); in NNTensorDesc_GetElementCountD() local
[all …]
DNeuralNetworkTensorTypeTest.cpp193 NN_TensorDesc *createTensorDesc(const int32_t *shape, size_t shapeNum, OH_NN_DataType dataType, OH_… in createTensorDesc()
DNeuralNetworkRuntimeTypeTest.cpp62 int *shape = static_cast<int *>(std::malloc(sizeof(int) * SHAPE_SIZE)); in NNReturnCode_DynamicShape() local
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/checkbox/
Dcheckbox_shape_test.cpp22 int32_t shape = ArkUI_CHECKBOX_SHAPE_ROUNDED_SQUARE; in TestCheckboxShape001() local
34 int32_t shape = ArkUI_CHECKBOX_SHAPE_CIRCLE; in TestCheckboxShape002() local
/test/xts/acts/ai/nncore/nncoretest/src/
DHdiTensorDescTest.cpp170 int32_t* shape = nullptr; variable
184 int32_t* shape = nullptr; variable
202 int32_t* shape = nullptr; variable
/test/xts/acts/ai/nncore/opstest/src/
Dnncore_utils.cpp28 NN_TensorDesc* createTensorDesc(const int32_t* shape, size_t shapeNum, OH_NN_DataType dataType, OH_… in createTensorDesc()
Dscatter_nd_test.cpp37 OHNNOperandTest shape = {OH_NN_FLOAT32, OH_NN_TENSOR, shape_shape, shapeValue, sizeof(float)}; member
58 OHNNOperandTest shape = {OH_NN_FLOAT32, OH_NN_TENSOR, shape_shape, shapeValue, 2*sizeof(float)}; member
79 OHNNOperandTest shape = {OH_NN_FLOAT32, OH_NN_TENSOR, shape_shape, shapeValue, 2*sizeof(float)}; member
100 OHNNOperandTest shape = {OH_NN_FLOAT32, OH_NN_TENSOR, shape_shape, shapeValue, 3*sizeof(float)}; member
Dbroadcast_to_test.cpp34 …OHNNOperandTest shape = {OH_NN_INT64, OH_NN_BROADCAST_TO_SHAPE, {2}, &shapeValue, 2*sizeof(int64_t… member
51 …OHNNOperandTest shape = {OH_NN_INT64, OH_NN_BROADCAST_TO_SHAPE, {2}, &shapeValue, 2*sizeof(int64_t… member
68 …OHNNOperandTest shape = {OH_NN_INT64, OH_NN_BROADCAST_TO_SHAPE, {2}, &shapeValue, 2*sizeof(int64_t… member
Dcrop_test.cpp37 OHNNOperandTest shape = {OH_NN_FLOAT32, OH_NN_TENSOR, shape_shape, shapeValue, 3*sizeof(float)}; member
60 OHNNOperandTest shape = {OH_NN_FLOAT32, OH_NN_TENSOR, shape_shape, shapeValue, 3*sizeof(float)}; member
83 OHNNOperandTest shape = {OH_NN_FLOAT32, OH_NN_TENSOR, shape_shape, shapeValue, 3*sizeof(float)}; member
/test/xts/acts/ai/nncore/opstest/include/
Dnncore_utils.h32 std::vector<int32_t> shape; member
/test/xts/acts/ai/neural_network_runtime/v2_0/common/
Dnnrt_utils.h34 std::vector<int32_t> shape; member
/test/xts/acts/ai/neural_network_runtime/v1_0/common/
Dnnrt_utils.h34 std::vector<int32_t> shape; member
/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/
DExecutorTest.cpp299 int32_t shape[4] = {1, 100, 100, 11}; variable
334 int32_t shape[4] = {1, 1, 1, 1}; //minInputDims variable
369 int32_t shape[4] = {1, 100, 100, 10}; //maxInputDims variable
/test/xts/acts/ai/nncore/common/
Dnncore_utils.h34 std::vector<int32_t> shape; member
Dnncore_utils.cpp29 NN_TensorDesc* createTensorDesc(const int32_t* shape, size_t shapeNum, OH_NN_DataType dataType, OH_… in createTensorDesc()
/test/xts/acts/ai/mindspore/mindsporectest/src/
Dohos_c_api_test_mslite.cpp270 const int64_t *shape = OH_AI_TensorGetShape(tensor, &shape_num); in FillInputsData() local
622 auto shape = OH_AI_TensorGetShape(get_weights.handle_list[i], &shape_num); variable
656 auto shape = OH_AI_TensorGetShape(get_weights.handle_list[i], &shape_num); variable
2459 const int64_t *shape = OH_AI_TensorGetShape(tensor, &shape_num); variable
3562 int64_t shape[MAX_DIMS]; in RunMSLiteModel() local
3621 int64_t shape[maxDims]; in CopyFreeSetAllocator() local
3700 int64_t shape[maxDims]; in CopyFreeNoSetAllocator() local
3839 int64_t shape[MAX_DIMS]; variable
/test/xts/acts/ai/nnrtndk/entry/src/main/cpp/
Dnnrtndk.cpp42 std::vector<int32_t> shape; member