/external/tensorflow/tensorflow/core/kernels/ |
resize_bilinear_op_test.cc | 94 const float y_lerp = in_y - std::floor(in_y); local 115 output(b, y, x, c) = top + (bottom - top) * y_lerp;
|
crop_and_resize_op_gpu.cu.cc | 91 const float y_lerp = in_y - top_y_index; local 119 crops_ptr[out_idx] = top + (bottom - top) * y_lerp; 181 const float y_lerp = in_y - top_y_index; local 187 const float dtop = (1 - y_lerp) * grads_ptr[out_idx]; 201 const float dbottom = y_lerp * grads_ptr[out_idx]; 281 const float y_lerp = in_y - top_y_index; local 311 float image_grad_x = (1 - y_lerp) * (top_right - top_left) + 312 y_lerp * (bottom_right - bottom_left);
|
resize_bilinear_op_gpu.cu.cc | 56 const float y_lerp = in_y - floorf(in_y); local 83 output[out_idx] = top + (bottom - top) * y_lerp; 108 const float y_lerp = original_y - floorf(original_y); local 119 const float dtop = (1 - y_lerp) * input_grad[in_idx]; 133 const float dbottom = y_lerp * input_grad[in_idx]; 170 const float y_lerp = in_y - top_y_index; local 197 output[out_idx] = top + (bottom - top) * y_lerp; 221 const float y_lerp = original_y - top_y_index; local 230 const float dtop = (1 - y_lerp) * input_grad[in_idx]; 244 const float dbottom = y_lerp * input_grad[in_idx] [all...] |
crop_and_resize_op.cc | 254 const float y_lerp = in_y - top_y_index; 282 crops(b, y, x, d) = top + (bottom - top) * y_lerp; 472 const float y_lerp = in_y - top_y_index; local 487 const float dtop = (1 - y_lerp) * grads(b, y, x, d); 492 const float dbottom = y_lerp * grads(b, y, x, d); 653 const float y_lerp = in_y - top_y_index; local 678 float image_grad_x = (1 - y_lerp) * (top_right - top_left) + 679 y_lerp * (bottom_right - bottom_left); [all...] |
resize_bilinear_op.cc | 104 const float x_lerp, const float y_lerp) { 107 return top + (bottom - top) * y_lerp; 327 const float y_lerp = in_y - floorf(in_y); local 328 const float inverse_y_lerp = (1.0f - y_lerp); 344 T(input_grad(b, y, x, c) * y_lerp * inverse_x_lerp); 346 T(input_grad(b, y, x, c) * y_lerp * x_lerp);
|
conv_ops_fused_image_transform.cc | 132 y_lerp(other.y_lerp) {} 137 T1 y_lerp; member in struct:tensorflow::__anon45223::PerCacheLineParameters 152 T1 y_lerp) const { 157 return top + (bottom - top) * y_lerp; 199 result.y_lerp = static_cast<T1>(in_y - top_y_index); 532 line_params.y_lerp); [all...] |
/external/tensorflow/tensorflow/contrib/pi_examples/camera/ |
camera.cc | 360 const float y_lerp = in_y - top_y_index; local 389 out_pixel[c] = top + (bottom - top) * y_lerp;
|
/external/tensorflow/tensorflow/contrib/pi_examples/label_image/ |
label_image.cc | 171 const float y_lerp = in_y - top_y_index; local 200 out_pixel[c] = top + (bottom - top) * y_lerp;
|