Lines Matching refs:pad
59 hexagon_nn_padding_type pad; in average_pool_2d() local
79 pad = getPadding(inputShape.dimensions[2], inputShape.dimensions[1], stride_width, in average_pool_2d()
82 HEXAGON_SOFT_ASSERT_NE(pad, NN_PAD_NA, "Unknown padding"); in average_pool_2d()
84 pad = model->getPadding(ins[1]); in average_pool_2d()
96 return model->addFloatOperationWithActivation(OP_AvgPool_f, pad, act, {input, window, stride}, in average_pool_2d()
134 hexagon_nn_padding_type pad; in conv_2d() local
151 pad = getPadding(inputShape.dimensions[2], inputShape.dimensions[1], stride_width, in conv_2d()
154 HEXAGON_SOFT_ASSERT_NE(pad, NN_PAD_NA, "Unknown padding"); in conv_2d()
156 pad = model->getPadding(ins[3]); in conv_2d()
165 return model->addFusedFloatOperation(OP_Conv2d_f, pad, bias, act, {input, filter, stride}, in conv_2d()
182 hexagon_nn_padding_type pad; in depthwise_conv_2d() local
201 pad = getPadding(inputShape.dimensions[2], inputShape.dimensions[1], stride_width, in depthwise_conv_2d()
204 HEXAGON_SOFT_ASSERT_NE(pad, NN_PAD_NA, "Unknown padding"); in depthwise_conv_2d()
206 pad = model->getPadding(ins[3]); in depthwise_conv_2d()
217 return model->addFusedFloatOperation(OP_DepthwiseConv2d_f, pad, bias, act, in depthwise_conv_2d()
247 hexagon_nn_padding_type pad; in l2_pool_2d() local
267 pad = getPadding(inputShape.dimensions[2], inputShape.dimensions[1], stride_width, in l2_pool_2d()
270 HEXAGON_SOFT_ASSERT_NE(pad, NN_PAD_NA, "Unknown padding"); in l2_pool_2d()
272 pad = model->getPadding(ins[1]); in l2_pool_2d()
284 return model->addFloatOperationWithActivation(OP_L2Pool_f, pad, act, {input, window, stride}, in l2_pool_2d()
331 hexagon_nn_padding_type pad; in max_pool_2d() local
351 pad = getPadding(inputShape.dimensions[2], inputShape.dimensions[1], stride_width, in max_pool_2d()
354 HEXAGON_SOFT_ASSERT_NE(pad, NN_PAD_NA, "Unknown padding"); in max_pool_2d()
356 pad = model->getPadding(ins[1]); in max_pool_2d()
368 return model->addFloatOperationWithActivation(OP_MaxPool_f, pad, act, {input, window, stride}, in max_pool_2d()
514 hexagon_nn_padding_type pad; in average_pool_2d() local
534 pad = getPadding(inputShape.dimensions[2], inputShape.dimensions[1], stride_width, in average_pool_2d()
537 HEXAGON_SOFT_ASSERT_NE(pad, NN_PAD_NA, "Unknown padding"); in average_pool_2d()
539 pad = model->getPadding(ins[1]); in average_pool_2d()
553 return model->addQuant8OperationWithActivation(OP_QuantizedAvgPool_8, pad, act, in average_pool_2d()
593 hexagon_nn_padding_type pad; in conv_2d() local
610 pad = getPadding(inputShape.dimensions[2], inputShape.dimensions[1], stride_width, in conv_2d()
613 HEXAGON_SOFT_ASSERT_NE(pad, NN_PAD_NA, "Unknown padding"); in conv_2d()
615 pad = model->getPadding(ins[3]); in conv_2d()
632 OP_QuantizedConv2d_8x8to32, pad, {bias, bias_min, bias_max}, act, in conv_2d()
647 hexagon_nn_padding_type pad; in depthwise_conv_2d() local
666 pad = getPadding(inputShape.dimensions[2], inputShape.dimensions[1], stride_width, in depthwise_conv_2d()
669 HEXAGON_SOFT_ASSERT_NE(pad, NN_PAD_NA, "Unknown padding"); in depthwise_conv_2d()
671 pad = model->getPadding(ins[3]); in depthwise_conv_2d()
690 OP_QuantizedDepthwiseConv2d_8x8to32, pad, {bias, bias_min, bias_max}, act, in depthwise_conv_2d()
762 hexagon_nn_padding_type pad; in max_pool_2d() local
782 pad = getPadding(inputShape.dimensions[2], inputShape.dimensions[1], stride_width, in max_pool_2d()
785 HEXAGON_SOFT_ASSERT_NE(pad, NN_PAD_NA, "Unknown padding"); in max_pool_2d()
787 pad = model->getPadding(ins[1]); in max_pool_2d()
802 OP_QuantizedMaxPool_8, pad, act, {input, input_min, input_max, window, stride}, outs); in max_pool_2d()