Searched refs:scaled_sigmoid_x (Results 1 – 2 of 2) sorted by relevance
129 float scaled_sigmoid_x = 256.0f / (1.0f + expf(-x)); in xnn_create_sigmoid_nc_qu8() local130 if (scaled_sigmoid_x < scaled_min) { in xnn_create_sigmoid_nc_qu8()131 scaled_sigmoid_x = scaled_min; in xnn_create_sigmoid_nc_qu8()133 if (scaled_sigmoid_x > scaled_max) { in xnn_create_sigmoid_nc_qu8()134 scaled_sigmoid_x = scaled_max; in xnn_create_sigmoid_nc_qu8()136 lookup_table[(uint32_t) i] = (uint8_t) lrintf(scaled_sigmoid_x); in xnn_create_sigmoid_nc_qu8()
151 const float scaled_sigmoid_x = sigmoid_x / output_scale(); in TestQU8() local152 float y = scaled_sigmoid_x; in TestQU8()