Searched refs:kernel_scale (Results 1 – 6 of 6) sorted by relevance
/external/XNNPACK/src/ |
D | fully-connected-nc.c | 34 float kernel_scale, in xnn_create_fully_connected_nc_q8() argument 91 if (kernel_scale <= 0.0f || !isnormal(kernel_scale)) { in xnn_create_fully_connected_nc_q8() 94 kernel_scale); in xnn_create_fully_connected_nc_q8() 115 const float requantization_scale = input_scale * kernel_scale / output_scale; in xnn_create_fully_connected_nc_q8() 120 input_scale, kernel_scale, output_scale, requantization_scale); in xnn_create_fully_connected_nc_q8()
|
D | deconvolution-nhwc.c | 60 float kernel_scale, in xnn_create_deconvolution2d_nhwc_q8() argument 149 if (kernel_scale <= 0.0f || !isnormal(kernel_scale)) { in xnn_create_deconvolution2d_nhwc_q8() 152 kernel_scale); in xnn_create_deconvolution2d_nhwc_q8() 173 const float deconvolution_scale = input_scale * kernel_scale / output_scale; in xnn_create_deconvolution2d_nhwc_q8() 178 input_scale, kernel_scale, output_scale, deconvolution_scale); in xnn_create_deconvolution2d_nhwc_q8()
|
D | convolution-nhwc.c | 80 float kernel_scale, in xnn_create_convolution2d_nhwc_q8() argument 170 if (kernel_scale <= 0.0f || !isnormal(kernel_scale)) { in xnn_create_convolution2d_nhwc_q8() 173 kernel_scale); in xnn_create_convolution2d_nhwc_q8() 213 const float convolution_scale = input_scale * kernel_scale / output_scale; in xnn_create_convolution2d_nhwc_q8() 218 input_scale, kernel_scale, output_scale, convolution_scale); in xnn_create_convolution2d_nhwc_q8()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | scale_and_translate_op_test.cc | 95 const Vector2f kernel_scale(antialias ? std::max(scale.x(), 1.0f) : 1.0, in Sample() local 104 std::ceil(sample_f.y() - kernel.Radius() * kernel_scale.y() - 0.5f))); in Sample() 108 sample_f.y() + kernel.Radius() * kernel_scale.y() - 0.5f))) + in Sample() 113 std::ceil(sample_f.x() - kernel.Radius() * kernel_scale.x() - 0.5f))); in Sample() 118 sample_f.x() + kernel.Radius() * kernel_scale.x() - 0.5f))) + in Sample() 126 const Vector2f one_over_kernel_scale(1.0f / kernel_scale.x(), in Sample() 127 1.0f / kernel_scale.y()); in Sample()
|
D | scale_and_translate_op.cc | 61 const float kernel_scale = antialias ? std::max(inv_scale, 1.0f) : 1.0f; in ComputeSpansCore() local 63 2 * static_cast<int>(std::ceil(kernel.Radius() * kernel_scale)) + 1, in ComputeSpansCore() 78 const float one_over_kernel_scale = 1.0f / kernel_scale; in ComputeSpansCore() 92 std::ceil(sample_f - kernel.Radius() * kernel_scale - 0.5f); in ComputeSpansCore() 94 std::floor(sample_f + kernel.Radius() * kernel_scale - 0.5f); in ComputeSpansCore()
|
/external/XNNPACK/include/ |
D | xnnpack.h | 1066 float kernel_scale, 1104 float kernel_scale, 1133 float kernel_scale,
|