Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/image/
Dscale_and_translate_op_test.cc126 const Vector2f one_over_kernel_scale(1.0f / kernel_scale.x(), in Sample() local
131 float y_weight = kernel.Value(y_kernel_pos * one_over_kernel_scale.y()); in Sample()
134 float x_weight = kernel.Value(x_kernel_pos * one_over_kernel_scale.x()); in Sample()
Dscale_and_translate_op.cc79 const float one_over_kernel_scale = 1.0f / kernel_scale; in ComputeSpansCore() local
107 float weight = kernel(std::abs(kernel_pos * one_over_kernel_scale)); in ComputeSpansCore()