/external/XNNPACK/test/ |
D | leaky-relu-nc.cc | 48 for (float negative_slope = 1.0e-4f; negative_slope < 1.0f; negative_slope *= 3.14159265f) { in TEST() local 52 .negative_slope(negative_slope) in TEST() 213 for (float negative_slope = 1.0e-4f; negative_slope < 1.0f; negative_slope *= 3.14159265f) { in TEST() local 217 .negative_slope(negative_slope) in TEST()
|
D | leaky-relu-operator-tester.h | 78 inline LeakyReLUOperatorTester& negative_slope(float negative_slope) { in negative_slope() function 79 assert(negative_slope > 0.0f); in negative_slope() 80 assert(negative_slope < 1.0f); in negative_slope() 81 this->negative_slope_ = negative_slope; in negative_slope() 85 inline float negative_slope() const { in negative_slope() function 172 const float y = std::signbit(x) ? x * negative_slope() : x; in TestF32() 184 negative_slope(), in TestF32() 206 … << ", input " << input[i * input_stride() + c] << ", negative slope " << negative_slope(); in TestF32() 228 float y = (x < 0.0f ? x * negative_slope() : x) / output_scale(); in TestQU8() 242 negative_slope(), in TestQU8()
|
/external/XNNPACK/src/subgraph/ |
D | leaky-relu.c | 18 float negative_slope, in xnn_define_leaky_relu() argument 29 if (!isfinite(negative_slope)) { in xnn_define_leaky_relu() 33 negative_slope); in xnn_define_leaky_relu() 57 node->params.leaky_relu.negative_slope = negative_slope; in xnn_define_leaky_relu()
|
/external/XNNPACK/src/operators/ |
D | leaky-relu-nc.c | 25 float negative_slope, in xnn_create_leaky_relu_nc_qu8() argument 69 if (negative_slope <= 0.0f || !isnormal(negative_slope)) { in xnn_create_leaky_relu_nc_qu8() 72 xnn_operator_type_to_string(xnn_operator_type_leaky_relu_nc_qu8), negative_slope); in xnn_create_leaky_relu_nc_qu8() 76 if (negative_slope > 1.0f) { in xnn_create_leaky_relu_nc_qu8() 79 xnn_operator_type_to_string(xnn_operator_type_leaky_relu_nc_qu8), negative_slope); in xnn_create_leaky_relu_nc_qu8() 138 float y = x < 0.0f ? x * negative_slope : x; in xnn_create_leaky_relu_nc_qu8()
|
D | prelu-nc.c | 24 const float* negative_slope, in xnn_create_prelu_nc_f32() argument 80 memcpy(prelu_op->packed_weights, negative_slope, channels * sizeof(float)); in xnn_create_prelu_nc_f32()
|
D | unary-elementwise-nc.c | 369 float negative_slope, in xnn_create_leaky_relu_nc_f32() argument 373 if (!isfinite(negative_slope)) { in xnn_create_leaky_relu_nc_f32() 377 negative_slope); in xnn_create_leaky_relu_nc_f32() 381 const union xnn_f32_lrelu_params params = xnn_init_f32_lrelu_params(negative_slope); in xnn_create_leaky_relu_nc_f32()
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | advanced_activations.py | 405 def __init__(self, max_value=None, negative_slope=0, threshold=0, **kwargs): argument 410 if negative_slope < 0.: 412 'cannot be negative value: ' + str(negative_slope)) 421 self.negative_slope = K.cast_to_floatx(negative_slope) 428 alpha=self.negative_slope, 435 'negative_slope': self.negative_slope,
|
D | advanced_activations_test.py | 79 'LeakyRelu' in keras.layers.ReLU(negative_slope=0.2)(x).name)
|
/external/tensorflow/tensorflow/lite/delegates/xnnpack/ |
D | leaky_relu_tester.h | 47 inline LeakyReluTester& NegativeSlope(float negative_slope) { in NegativeSlope() argument 48 negative_slope_ = negative_slope; in NegativeSlope()
|
/external/XNNPACK/src/xnnpack/ |
D | subgraph.h | 188 float negative_slope; member
|
/external/XNNPACK/include/ |
D | xnnpack.h | 968 float negative_slope, 1392 float negative_slope, 1496 const float* negative_slope, 2149 float negative_slope,
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.keras.layers.-re-l-u.pbtxt | 132 …argspec: "args=[\'self\', \'max_value\', \'negative_slope\', \'threshold\'], varargs=None, keyword…
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.keras.layers.-re-l-u.pbtxt | 132 …argspec: "args=[\'self\', \'max_value\', \'negative_slope\', \'threshold\'], varargs=None, keyword…
|
/external/XNNPACK/src/ |
D | runtime.c | 542 node->params.leaky_relu.negative_slope, in xnn_create_runtime_v2()
|