Home
last modified time | relevance | path

Searched refs:negative_input_output_scale (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/XNNPACK/src/subgraph/
H A Dleaky-relu.c250 const float negative_input_output_scale = positive_input_output_scale * negative_slope; in xnn_define_leaky_relu() local
251 if (negative_input_output_scale < -0x1.FFFC00p+6f || negative_input_output_scale > 0x1.0p+7f) { in xnn_define_leaky_relu()
254 xnn_node_type_to_string(xnn_node_type_leaky_relu), negative_input_output_scale); in xnn_define_leaky_relu()
258 if (fabsf(negative_input_output_scale) < 0x1.0p-8f) { in xnn_define_leaky_relu()
261 xnn_node_type_to_string(xnn_node_type_leaky_relu), negative_input_output_scale); in xnn_define_leaky_relu()
/aosp_15_r20/external/XNNPACK/src/operators/
H A Dunary-elementwise-nc.c973 const float negative_input_output_scale = positive_input_output_scale * negative_slope; in xnn_create_leaky_relu_nc_qs8() local
974 if (negative_input_output_scale < -0x1.FFFC00p+6f || negative_input_output_scale > 0x1.0p+7f) { in xnn_create_leaky_relu_nc_qs8()
977 … xnn_operator_type_to_string(xnn_operator_type_leaky_relu_nc_qs8), negative_input_output_scale); in xnn_create_leaky_relu_nc_qs8()
981 if (fabsf(negative_input_output_scale) < 0x1.0p-8f) { in xnn_create_leaky_relu_nc_qs8()
984 … xnn_operator_type_to_string(xnn_operator_type_leaky_relu_nc_qs8), negative_input_output_scale); in xnn_create_leaky_relu_nc_qs8()
990 …qs8.lrelu.init.qs8_lrelu(&params, positive_input_output_scale, negative_input_output_scale, input_… in xnn_create_leaky_relu_nc_qs8()
1042 const float negative_input_output_scale = positive_input_output_scale * negative_slope; in xnn_create_leaky_relu_nc_qu8() local
1043 if (negative_input_output_scale < -0x1.FFFC00p+6f || negative_input_output_scale > 0x1.0p+7f) { in xnn_create_leaky_relu_nc_qu8()
1046 … xnn_operator_type_to_string(xnn_operator_type_leaky_relu_nc_qu8), negative_input_output_scale); in xnn_create_leaky_relu_nc_qu8()
1050 if (fabsf(negative_input_output_scale) < 0x1.0p-8f) { in xnn_create_leaky_relu_nc_qu8()
[all …]