Lines Matching refs:act

43     const op_type act = model->getFloatActivation(ins[2]);  in add()  local
46 return model->addFusedFloatOperation(OP_Add_f, NN_PAD_NA, {}, act, {in1, in2}, outs); in add()
64 op_type act; in average_pool_2d() local
76 act = model->getFloatActivation(ins[9]); in average_pool_2d()
89 act = model->getFloatActivation(ins[6]); in average_pool_2d()
96 return model->addFloatOperationWithActivation(OP_AvgPool_f, pad, act, {input, window, stride}, in average_pool_2d()
137 op_type act; in conv_2d() local
147 act = model->getFloatActivation(ins[9]); in conv_2d()
159 act = model->getFloatActivation(ins[6]); in conv_2d()
165 return model->addFusedFloatOperation(OP_Conv2d_f, pad, bias, act, {input, filter, stride}, in conv_2d()
186 op_type act; in depthwise_conv_2d() local
197 act = model->getFloatActivation(ins[10]); in depthwise_conv_2d()
210 act = model->getFloatActivation(ins[7]); in depthwise_conv_2d()
217 return model->addFusedFloatOperation(OP_DepthwiseConv2d_f, pad, bias, act, in depthwise_conv_2d()
231 const op_type act = model->getFloatActivation(ins[3]); in fully_connected() local
234 return model->addFusedFloatOperation(OP_MatMul_f, NN_PAD_NA, bias, act, {input, weights}, outs); in fully_connected()
252 op_type act; in l2_pool_2d() local
264 act = model->getFloatActivation(ins[9]); in l2_pool_2d()
277 act = model->getFloatActivation(ins[6]); in l2_pool_2d()
284 return model->addFloatOperationWithActivation(OP_L2Pool_f, pad, act, {input, window, stride}, in l2_pool_2d()
336 op_type act; in max_pool_2d() local
348 act = model->getFloatActivation(ins[9]); in max_pool_2d()
361 act = model->getFloatActivation(ins[6]); in max_pool_2d()
368 return model->addFloatOperationWithActivation(OP_MaxPool_f, pad, act, {input, window, stride}, in max_pool_2d()
380 const op_type act = model->getFloatActivation(ins[2]); in mul() local
383 return model->addFusedFloatOperation(OP_Mul_f, NN_PAD_NA, {}, act, {in1, in2}, outs); in mul()
492 const op_type act = model->getQuantizedActivation(ins[2]); in add() local
500 return model->addFusedQuant8Operation(OP_QuantizedAdd_8p8to32, NN_PAD_NA, {}, act, in add()
519 op_type act; in average_pool_2d() local
531 act = model->getQuantizedActivation(ins[9]); in average_pool_2d()
544 act = model->getQuantizedActivation(ins[6]); in average_pool_2d()
553 return model->addQuant8OperationWithActivation(OP_QuantizedAvgPool_8, pad, act, in average_pool_2d()
596 op_type act; in conv_2d() local
606 act = model->getQuantizedActivation(ins[9]); in conv_2d()
618 act = model->getQuantizedActivation(ins[6]); in conv_2d()
632 OP_QuantizedConv2d_8x8to32, pad, {bias, bias_min, bias_max}, act, in conv_2d()
651 op_type act; in depthwise_conv_2d() local
662 act = model->getQuantizedActivation(ins[10]); in depthwise_conv_2d()
675 act = model->getQuantizedActivation(ins[7]); in depthwise_conv_2d()
690 OP_QuantizedDepthwiseConv2d_8x8to32, pad, {bias, bias_min, bias_max}, act, in depthwise_conv_2d()
719 const op_type act = model->getQuantizedActivation(ins[3]); in fully_connected() local
730 OP_QuantizedMatMul_8x8to32, NN_PAD_NA, {bias, bias_min, bias_max}, act, in fully_connected()
767 op_type act; in max_pool_2d() local
779 act = model->getQuantizedActivation(ins[9]); in max_pool_2d()
792 act = model->getQuantizedActivation(ins[6]); in max_pool_2d()
802 OP_QuantizedMaxPool_8, pad, act, {input, input_min, input_max, window, stride}, outs); in max_pool_2d()
813 const op_type act = model->getQuantizedActivation(ins[2]); in mul() local
821 return model->addFusedQuant8Operation(OP_QuantizedMul_8x8to32, NN_PAD_NA, {}, act, in mul()