/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/inner_model/ |
H A D | nn_tensor_test.cpp | 39 const int dim[2] = {2, 2}; variable 71 const int dim[2] = {2, -2}; variable 85 const int dim[2] = {2, -1}; variable 120 const int dim[2] = {2, 2}; variable 139 const int dim[2] = {2, 2}; variable 157 const int dim[2] = {2, 2}; variable 175 const int dim[2] = {2, 2}; variable 220 const int dim[2] = {2, 2}; variable 237 const int dim[2] = {2, 2}; variable 258 const int dim[2] = {2, 2}; variable [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/inner_model/ |
H A D | nn_tensor_test.cpp | 39 const int dim[2] = {2, 2}; variable 71 const int dim[2] = {2, -2}; variable 85 const int dim[2] = {2, -1}; variable 120 const int dim[2] = {2, 2}; variable 139 const int dim[2] = {2, 2}; variable 157 const int dim[2] = {2, 2}; variable 175 const int dim[2] = {2, 2}; variable 220 const int dim[2] = {2, 2}; variable 237 const int dim[2] = {2, 2}; variable 258 const int dim[2] = {2, 2}; variable [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/ops/ |
H A D | ops_test.cpp | 24 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam) in SaveInputTensor() 35 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam) in SaveOutputTensor() 46 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetKernelSize() 57 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetStride() 68 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetActivation() 78 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetDilation() 89 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetGroup()
|
H A D | argmax_test.cpp | 56 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetArgmaxAxis() 66 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetArgmaxKeepdims() 76 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetArgmaxTopK() 86 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetArgmaxOutMaxValue()
|
H A D | detection_post_process_test.cpp | 73 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetInputSize() 83 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetScale() 94 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetNmsIoUThreshold() 104 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetNmsScoreThreshold() 114 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetMaxDetections() 124 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetDetectionsPerClass() 134 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetMaxClassesPerDetection() 144 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetNumClasses() 154 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetUseRegularNms() 164 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetOutQuantized()
|
H A D | lstm_test.cpp | 75 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveBidirectional() 85 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveHasBias() 95 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveInputSize() 105 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveHiddenSize() 115 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveNumLayers() 125 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveNumDirections() 135 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveDropout() 145 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveZoneoutCell() 155 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveZoneoutHidden() 165 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveProjSize()
|
H A D | lrn_test.cpp | 59 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveDepthRadius() 69 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveAlpha() 79 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveBeta() 89 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveBias() 99 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveNormRegion()
|
H A D | resize_bilinear_builder_test.cpp | 65 …sizeBilinearBuilderTest::SaveHeightTensor(OH_NN_DataType dataType, const std::vector<int32_t> &dim, in SaveHeightTensor() 75 …esizeBilinearBuilderTest::SaveWidthTensor(OH_NN_DataType dataType, const std::vector<int32_t> &dim, in SaveWidthTensor() 85 …esizeBilinearBuilderTest::SaveRatioTensor(OH_NN_DataType dataType, const std::vector<int32_t> &dim, in SaveRatioTensor() 95 …ResizeBilinearBuilderTest::SaveModeTensor(OH_NN_DataType dataType, const std::vector<int32_t> &dim, in SaveModeTensor() 105 …izeBilinearBuilderTest::SaveOutsideTensor(OH_NN_DataType dataType, const std::vector<int32_t> &dim, in SaveOutsideTensor()
|
H A D | fullconnection_with_axis_test.cpp | 77 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetActivation() 88 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetAxis() 99 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetUseAxis() 110 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetHasBias()
|
H A D | quant_dtype_cast_builder_test.cpp | 53 … QuantDTypeCastBuilderTest::SaveSrcTensor(OH_NN_DataType dataType, const std::vector<int32_t> &dim, in SaveSrcTensor() 63 … QuantDTypeCastBuilderTest::SaveDstTensor(OH_NN_DataType dataType, const std::vector<int32_t> &dim, in SaveDstTensor() 73 …QuantDTypeCastBuilderTest::SaveAxisTensor(OH_NN_DataType dataType, const std::vector<int32_t> &dim, in SaveAxisTensor()
|
H A D | exp_test.cpp | 54 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveBase() 64 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveScale() 74 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveShift()
|
H A D | range_test.cpp | 54 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveStart() 64 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveLimit() 74 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveDelta()
|
H A D | avgpool_padmod_test.cpp | 57 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetRoundMode() 67 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetGlobal() 77 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetPadMode()
|
H A D | maxpool_padmode_test.cpp | 57 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetRoundMode() 67 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetGlobal() 77 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetPadMode()
|
H A D | avgpool_pad_test.cpp | 58 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetRoundMode() 68 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetGlobal() 78 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetPad()
|
H A D | maxpool_pad_test.cpp | 58 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetRoundMode() 68 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetGlobal() 78 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetPad()
|
H A D | batch_to_space_nd_test.cpp | 53 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetBlockSize() 64 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetCrops()
|
H A D | layernorm_builder_test.cpp | 59 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveNormAixsTensor() 69 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveEpsilonTensor() 79 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveParamAxisTensor()
|
H A D | matmul_builder_test.cpp | 58 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveTransposeATensor() 68 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveTransposeBTensor() 78 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SaveActivationTensor()
|
H A D | reduce_all_builder_test.cpp | 55 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetKeepDims() 65 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetCoeff() 75 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetReduceToEnd()
|
H A D | reduce_l2_test.cpp | 55 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetKeepDims() 65 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetCoeff() 75 const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) in SetReduceToEnd()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | base_utils_test.cpp | 519 auto dim = StringUtils::StringToDimension(stringToDimensionValue, true); variable 535 auto dim = StringUtils::StringToDimension(stringToDimensionValue, true); variable 550 auto dim = StringUtils::StringToDimension(stringToDimensionValue, true); variable 563 auto dim = StringUtils::StringToDimension(stringToDimensionValue, true); variable 576 auto dim = StringUtils::StringToDimension(stringToDimensionValue, true); variable 589 auto dim = StringUtils::StringToDimension(stringToDimensionValue, true); variable 602 auto dim = StringUtils::StringToDimension(stringToDimensionValue, true); variable 615 auto dim = StringUtils::StringToDimension(stringToDimensionValue, true); variable 1237 rpnexp, [](const Dimension& dim) -> double { return dim.Value(); }, result, opRes)); in __anonc261d8e21102() 1240 rpnexp, [](const Dimension& dim) -> double { return dim.Value(); }, result, opRes)); in __anonc261d8e21202() [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/common/ |
H A D | base_test.cpp | 28 OH_NN_DataType dataType, const std::vector<int32_t>& dim, const OH_NN_QuantParam* quantParam, in TransToNNTensor()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/inner_kits/ |
H A D | neural_network_runtime_inner_test.cpp | 96 const std::vector<int32_t> dim = {3, 3}; variable 162 int dim = 1; variable 176 const std::vector<int32_t> dim = {3, 3}; variable 218 const std::vector<int32_t> dim = {3, 3}; variable 252 const std::vector<int32_t> dim = {3, 3}; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | calc_length.cpp | 41 calcValue_, [vpScale, fpScale, lpxScale, parentLength](const Dimension& dim) -> double { in NormalizeToPx()
|