Home
last modified time | relevance | path

Searched refs:activationValue (Results 1 - 25 of 63) sorted by relevance

123

/test/xts/acts/ai/neural_network_runtime/v2_0/common/
H A Dmodel.h29 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 Dmodel.h29 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 DHdiModelTest.cpp319 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 Dnncore_utils.h75 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 Dhdi_nnrt_test_utils.cpp45 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 Dhdi_nnrt_test_utils.cpp45 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 DModelTest.cpp160 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 DModelTest.cpp160 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 Dscatter_nd_test.cpp280 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 Dspace_to_depth_test.cpp266 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 Dswish_test.cpp207 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 Dround_test.cpp165 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 Dsquare_test.cpp165 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 Dsin_test.cpp165 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 Dquant_dtype_cast_test.cpp229 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 Dnot_equal_test.cpp259 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 Dpow_test.cpp230 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 Dreciprocal_test.cpp207 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 Drank_test.cpp164 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 Dlogical_and_test.cpp305 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 Dleaky_relu_test.cpp267 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 Dgreater_test.cpp259 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 Dless_test.cpp260 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 Dl2_normalize_test.cpp226 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 Dinstance_norm_test.cpp187 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()

Completed in 30 milliseconds

123