/test/xts/acts/ai/neural_network_runtime/v2_0/common/ |
H A D | model.h | 29 int8_t activationValue = OH_NN_FUSED_NONE; member 35 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)}; 50 int8_t activationValue = OH_NN_FUSED_NONE; member 58 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_AVG_POOL_ACTIVATION_TYPE, {}, &activationValue, sizeof(int8_t)};
|
/test/xts/acts/ai/neural_network_runtime/v1_0/common/ |
H A D | model.h | 29 int8_t activationValue = OH_NN_FUSED_NONE; member 35 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)}; 50 int8_t activationValue = OH_NN_FUSED_NONE; member 58 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_AVG_POOL_ACTIVATION_TYPE, {}, &activationValue, sizeof(int8_t)};
|
/test/xts/acts/ai/nncore/nncoretest/src/ |
H A D | HdiModelTest.cpp | 319 int8_t activationValue{0}; in HWTEST_F() 320 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_SetTensorData(nullptr, 0, (void *)&activationValue, sizeof(int8_t))); in HWTEST_F() 352 int8_t activationValue{0}; in HWTEST_F() 353 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_SetTensorData(model, 0, (void *)&activationValue, 0)); in HWTEST_F() 370 int8_t activationValue{0}; in HWTEST_F() 371 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_SetTensorData(model, 1000, (void *)&activationValue, sizeof(int8_t))); in HWTEST_F()
|
/test/xts/acts/ai/nncore/common/ |
H A D | nncore_utils.h | 75 int8_t activationValue = OH_NN_FUSED_NONE; member 81 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)}; 94 int8_t activationValue = OH_NN_FUSED_NONE; member 100 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
|
/test/xts/hats/ai/nnrt/hdi/v1_0/common/ |
H A D | hdi_nnrt_test_utils.cpp | 45 int8_t activationValue{0}; in BuildAddGraph() 50 ASSERT_EQ(OH_NN_SUCCESS, OH_NNModel_SetTensorData(*model, opCnt, (void *)&activationValue, sizeof(int8_t))); in BuildAddGraph() 84 int8_t activationValue{OH_NN_FUSED_NONE}; in BuildAddGraphDynamic() 89 ASSERT_EQ(OH_NN_SUCCESS, OH_NNModel_SetTensorData(*model, opCnt, (void *)&activationValue, sizeof(int8_t))); in BuildAddGraphDynamic()
|
/test/xts/hats/ai/nnrt/hdi/v2_0/common/ |
H A D | hdi_nnrt_test_utils.cpp | 45 int8_t activationValue{0}; in BuildAddGraph() 50 ASSERT_EQ(OH_NN_SUCCESS, OH_NNModel_SetTensorData(*model, opCnt, (void *)&activationValue, sizeof(int8_t))); in BuildAddGraph() 84 int8_t activationValue{OH_NN_FUSED_NONE}; in BuildAddGraphDynamic() 89 ASSERT_EQ(OH_NN_SUCCESS, OH_NNModel_SetTensorData(*model, opCnt, (void *)&activationValue, sizeof(int8_t))); in BuildAddGraphDynamic()
|
/test/xts/acts/ai/neural_network_runtime/v1_0/interface/src/ |
H A D | ModelTest.cpp | 160 int8_t activationValue{0}; in HWTEST_F() 166 OH_NNModel_SetTensorData(nullptr, 1, (void *)&activationValue, sizeof(int8_t))); in HWTEST_F() 180 int8_t activationValue{0}; in HWTEST_F() 186 OH_NNModel_SetTensorData(model, 1000, (void *)&activationValue, sizeof(int8_t))); in HWTEST_F() 218 int8_t activationValue{0}; in HWTEST_F() 223 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_SetTensorData(model, 1, (void *)&activationValue, 0)); in HWTEST_F()
|
/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/ |
H A D | ModelTest.cpp | 160 int8_t activationValue{0}; in HWTEST_F() 166 OH_NNModel_SetTensorData(nullptr, 1, (void *)&activationValue, sizeof(int8_t))); in HWTEST_F() 180 int8_t activationValue{0}; in HWTEST_F() 186 OH_NNModel_SetTensorData(model, 1000, (void *)&activationValue, sizeof(int8_t))); in HWTEST_F() 218 int8_t activationValue{0}; in HWTEST_F() 223 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_SetTensorData(model, 1, (void *)&activationValue, 0)); in HWTEST_F()
|
/test/xts/acts/ai/nncore/opstest/src/ |
H A D | scatter_nd_test.cpp | 280 int8_t activationValue = OH_NN_FUSED_NONE;
in HWTEST_F() local 281 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
in HWTEST_F()
|
H A D | space_to_depth_test.cpp | 266 int8_t activationValue = OH_NN_FUSED_NONE;
in HWTEST_F() local 267 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
in HWTEST_F()
|
H A D | swish_test.cpp | 207 int8_t activationValue = OH_NN_FUSED_NONE;
in HWTEST_F() local 208 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
in HWTEST_F()
|
H A D | round_test.cpp | 165 int8_t activationValue = OH_NN_FUSED_NONE;
in HWTEST_F() local 166 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
in HWTEST_F()
|
H A D | square_test.cpp | 165 int8_t activationValue = OH_NN_FUSED_NONE;
in HWTEST_F() local 166 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
in HWTEST_F()
|
H A D | sin_test.cpp | 165 int8_t activationValue = OH_NN_FUSED_NONE;
in HWTEST_F() local 166 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
in HWTEST_F()
|
H A D | quant_dtype_cast_test.cpp | 229 int8_t activationValue = OH_NN_FUSED_NONE;
in HWTEST_F() local 230 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
in HWTEST_F()
|
H A D | not_equal_test.cpp | 259 int8_t activationValue = OH_NN_FUSED_NONE;
in HWTEST_F() local 260 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
in HWTEST_F()
|
H A D | pow_test.cpp | 230 int8_t activationValue = OH_NN_FUSED_NONE;
in HWTEST_F() local 231 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
in HWTEST_F()
|
H A D | reciprocal_test.cpp | 207 int8_t activationValue = OH_NN_FUSED_NONE;
in HWTEST_F() local 208 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
in HWTEST_F()
|
H A D | rank_test.cpp | 164 int8_t activationValue = OH_NN_FUSED_NONE;
in HWTEST_F() local 165 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
in HWTEST_F()
|
H A D | logical_and_test.cpp | 305 int8_t activationValue = OH_NN_FUSED_NONE;
in HWTEST_F() local 306 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
in HWTEST_F()
|
H A D | leaky_relu_test.cpp | 267 int8_t activationValue = OH_NN_FUSED_NONE;
in HWTEST_F() local 268 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
in HWTEST_F()
|
H A D | greater_test.cpp | 259 int8_t activationValue = OH_NN_FUSED_NONE;
in HWTEST_F() local 260 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
in HWTEST_F()
|
H A D | less_test.cpp | 260 int8_t activationValue = OH_NN_FUSED_NONE;
in HWTEST_F() local 261 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
in HWTEST_F()
|
H A D | l2_normalize_test.cpp | 226 int8_t activationValue = OH_NN_FUSED_NONE;
in HWTEST_F() local 227 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
in HWTEST_F()
|
H A D | instance_norm_test.cpp | 187 int8_t activationValue = OH_NN_FUSED_NONE;
in HWTEST_F() local 188 OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
in HWTEST_F()
|