Home
last modified time | relevance | path

Searched refs:activationValue (Results 1 – 8 of 8) sorted by relevance

/test/xts/acts/ai/neural_network_runtime/v2_0/common/
Dmodel.h29 int8_t activationValue = OH_NN_FUSED_NONE; member
35 …OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(i…
50 int8_t activationValue = OH_NN_FUSED_NONE; member
58 …OHNNOperandTest activation = {OH_NN_INT8, OH_NN_AVG_POOL_ACTIVATION_TYPE, {}, &activationValue, si…
/test/xts/acts/ai/neural_network_runtime/v1_0/common/
Dmodel.h29 int8_t activationValue = OH_NN_FUSED_NONE; member
35 …OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(i…
50 int8_t activationValue = OH_NN_FUSED_NONE; member
58 …OHNNOperandTest activation = {OH_NN_INT8, OH_NN_AVG_POOL_ACTIVATION_TYPE, {}, &activationValue, si…
/test/xts/acts/ai/nncore/common/
Dnncore_utils.h75 int8_t activationValue = OH_NN_FUSED_NONE; member
81 …OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(i…
94 int8_t activationValue = OH_NN_FUSED_NONE; member
100 …OHNNOperandTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(i…
/test/xts/acts/ai/nncore/nncoretest/src/
DHdiModelTest.cpp309 int8_t activationValue{0}; variable
310 …_NN_INVALID_PARAMETER, OH_NNModel_SetTensorData(nullptr, 0, (void *)&activationValue, sizeof(int8_…
341 int8_t activationValue{0}; variable
342 …ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_SetTensorData(model, 0, (void *)&activationValue, 0)…
358 int8_t activationValue{0}; variable
359 …NN_INVALID_PARAMETER, OH_NNModel_SetTensorData(model, 1000, (void *)&activationValue, sizeof(int8_…
/test/xts/hats/ai/nnrt/hdi/v2_0/common/
Dhdi_nnrt_test_utils.cpp45 int8_t activationValue{0}; in BuildAddGraph() local
50 …ASSERT_EQ(OH_NN_SUCCESS, OH_NNModel_SetTensorData(*model, opCnt, (void *)&activationValue, sizeof(… in BuildAddGraph()
84 int8_t activationValue{OH_NN_FUSED_NONE}; in BuildAddGraphDynamic() local
89 …ASSERT_EQ(OH_NN_SUCCESS, OH_NNModel_SetTensorData(*model, opCnt, (void *)&activationValue, sizeof(… in BuildAddGraphDynamic()
/test/xts/hats/ai/nnrt/hdi/v1_0/common/
Dhdi_nnrt_test_utils.cpp45 int8_t activationValue{0}; in BuildAddGraph() local
50 …ASSERT_EQ(OH_NN_SUCCESS, OH_NNModel_SetTensorData(*model, opCnt, (void *)&activationValue, sizeof(… in BuildAddGraph()
84 int8_t activationValue{OH_NN_FUSED_NONE}; in BuildAddGraphDynamic() local
89 …ASSERT_EQ(OH_NN_SUCCESS, OH_NNModel_SetTensorData(*model, opCnt, (void *)&activationValue, sizeof(… in BuildAddGraphDynamic()
/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/
DModelTest.cpp159 int8_t activationValue{0}; variable
165 OH_NNModel_SetTensorData(nullptr, 1, (void *)&activationValue, sizeof(int8_t)));
179 int8_t activationValue{0}; variable
185 OH_NNModel_SetTensorData(model, 1000, (void *)&activationValue, sizeof(int8_t)));
217 int8_t activationValue{0}; variable
222 …ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_SetTensorData(model, 1, (void *)&activationValue, 0)…
/test/xts/acts/ai/neural_network_runtime/v1_0/interface/src/
DModelTest.cpp159 int8_t activationValue{0}; variable
165 OH_NNModel_SetTensorData(nullptr, 1, (void *)&activationValue, sizeof(int8_t)));
179 int8_t activationValue{0}; variable
185 OH_NNModel_SetTensorData(model, 1000, (void *)&activationValue, sizeof(int8_t)));
217 int8_t activationValue{0}; variable
222 …ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_SetTensorData(model, 1, (void *)&activationValue, 0)…