Home
last modified time | relevance | path

Searched defs:AvgPoolDynamicModel (Results 1 – 3 of 3) sorted by relevance

/test/xts/acts/ai/neural_network_runtime/v1_0/common/
Dmodel.h44 struct AvgPoolDynamicModel { struct
46 float inputValue[9] = {0, 1, 2, 3, 4, 5, 6, 7, 8};
47 uint64_t kernelValue[2] = {2, 2};
48 uint64_t strideValue[2] = {1, 1};
49 int8_t padValue = 1;
50 int8_t activationValue = OH_NN_FUSED_NONE;
51 float outputValue[4] = {0};
52 float expectValue[4] = {2, 3, 5, 6};
54 …dTest dynamicInput = {OH_NN_FLOAT32, OH_NN_TENSOR, {-1, -1, -1, -1}, inputValue, AVG_INPUT_LENGTH};
55 …randTest kernel = {OH_NN_INT64, OH_NN_AVG_POOL_KERNEL_SIZE, {2}, kernelValue, sizeof(kernelValue)};
[all …]
/test/xts/acts/ai/neural_network_runtime/v2_0/common/
Dmodel.h44 struct AvgPoolDynamicModel { struct
46 float inputValue[9] = {0, 1, 2, 3, 4, 5, 6, 7, 8};
47 uint64_t kernelValue[2] = {2, 2};
48 uint64_t strideValue[2] = {1, 1};
49 int8_t padValue = 1;
50 int8_t activationValue = OH_NN_FUSED_NONE;
51 float outputValue[4] = {0};
52 float expectValue[4] = {2, 3, 5, 6};
54 …dTest dynamicInput = {OH_NN_FLOAT32, OH_NN_TENSOR, {-1, -1, -1, -1}, inputValue, AVG_INPUT_LENGTH};
55 …randTest kernel = {OH_NN_INT64, OH_NN_AVG_POOL_KERNEL_SIZE, {2}, kernelValue, sizeof(kernelValue)};
[all …]
/test/xts/acts/ai/nncore/common/
Dnncore_utils.h90 struct AvgPoolDynamicModel { struct
92 float inputValue0[4] = {0, 1, 2, 3};
93 float inputValue1[4] = {0, 1, 2, 3};
94 int8_t activationValue = OH_NN_FUSED_NONE;
95 float outputValue[4] = {0};
96 float expectValue[4] = {0, 2, 4, 6};
98 …OperandTest input0 = {OH_NN_FLOAT32, OH_NN_TENSOR, {-1, -1, -1, -1}, inputValue0, ADD_DATA_LENGTH};
99 …OperandTest input1 = {OH_NN_FLOAT32, OH_NN_TENSOR, {-1, -1, -1, -1}, inputValue1, ADD_DATA_LENGTH};
100 …randTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)};
101 …OperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, {-1, -1, -1, -1}, outputValue, ADD_DATA_LENGTH};
[all …]