HomeSort by relevance Sort by last modified time
    Searched refs:width_scale (Results 1 - 21 of 21) sorted by null

  /external/tensorflow/tensorflow/core/kernels/
resize_bilinear_op.h 29 const float height_scale, const float width_scale,
37 const float height_scale, const float width_scale,
resize_nearest_neighbor_op.h 28 const float height_scale, const float width_scale,
36 const float height_scale, const float width_scale,
resize_nearest_neighbor_op_gpu.cu.cc 39 const int out_width, const float height_scale, const float width_scale,
56 min((align_corners) ? static_cast<int>(roundf(out_x * width_scale))
57 : static_cast<int>(floorf(out_x * width_scale)),
68 const int out_width, const float height_scale, const float width_scale,
85 min((align_corners) ? static_cast<int>(roundf(in_x * width_scale))
86 : static_cast<int>(floorf(in_x * width_scale)),
101 const float height_scale, const float width_scale,
118 out_height, out_width, height_scale, width_scale, output.data());
135 const float height_scale, const float width_scale,
160 height_scale, width_scale, output.data())
    [all...]
resize_nearest_neighbor_op.cc 67 st.width_scale, output_data);
72 st.width_scale, output_data);
89 const float height_scale, const float width_scale,
107 (align_corners) ? static_cast<int64>(roundf(x * width_scale))
108 : static_cast<int64>(floorf(x * width_scale)),
170 const float width_scale = variable
178 width_scale, output_data);
183 width_scale, output_data);
200 const float height_scale, const float width_scale,
219 (align_corners) ? static_cast<int64>(roundf(x * width_scale))
    [all...]
resize_bilinear_op_gpu.cu.cc 37 float height_scale, float width_scale,
57 const float in_x = x * width_scale;
89 float width_scale, int batch, int original_height, int original_width,
108 const float original_x = x * width_scale;
153 const float height_scale, const float width_scale,
170 width_scale, batch, in_height, in_width, channels, out_height,
180 const float height_scale, const float width_scale,
206 width_scale, batch, original_height, original_width, channels,
image_resizer_state.h 54 // height_scale and width_scale, and calculates the output size.
92 width_scale = CalculateResizeScale(in_width, out_width, align_corners_);
102 ceilf((out_width - 1) * width_scale) <= static_cast<float>(INT_MAX),
125 float width_scale; member in struct:tensorflow::ImageResizerState
168 width_scale =
185 float width_scale; member in struct:tensorflow::ImageResizerGradientState
resize_area_op_test.cc 74 const float width_scale = in_width / static_cast<float>(out_width); local
99 float scale = 1.0 / (height_scale * width_scale);
110 const float in_x = x * width_scale;
111 const float in_x1 = (x + 1) * width_scale;
124 ? (j + 1 > in_x1 ? width_scale : j + 1 - in_x)
resize_area_op.cc 160 const float in_x = x * st.width_scale;
161 const float in_x1 = (x + 1) * st.width_scale;
168 v < in_x ? (v + 1 > in_x1 ? st.width_scale : v + 1 - in_x)
175 v < in_x ? (v + 1 > in_x1 ? st.width_scale : v + 1 - in_x)
217 float scale = 1.0 / (st.height_scale * st.width_scale);
resize_bilinear_op.cc 59 st.width_scale, output_data);
205 const float height_scale, const float width_scale,
227 compute_interpolation_weights(out_width, in_width, width_scale, xs.data());
265 st.width_scale, output_grad);
278 const float height_scale, const float width_scale,
306 const float in_x = x * width_scale;
crop_and_resize_op_gpu.cu.cc 64 const float width_scale = local
76 ? x1 * (image_width - 1) + x * width_scale
146 const float width_scale = local
157 ? x1 * (image_width - 1) + x * width_scale
237 const float width_scale = (crop_width > 1) ? (x2 - x1) * width_ratio : 0; local
247 ? x1 * (image_width - 1) + x * width_scale
quantized_resize_bilinear_op.cc 465 const float height_scale, const float width_scale,
471 BuildLerpCache<float>(out_width, in_width, width_scale, channels, 0);
513 const float height_scale, const float width_scale,
517 out_width, channels, height_scale, width_scale,
526 const float height_scale, const float width_scale,
536 out_width, in_width, width_scale, channels, RESOLUTION);
587 const float height_scale, const float width_scale,
597 out_width, in_width, width_scale, channels, RESOLUTION);
647 const float height_scale, const float width_scale,
668 out_width, channels, height_scale, width_scale,
    [all...]
quantized_resize_bilinear_op_test.cc 112 const float width_scale, const float min,
116 GetReferenceWeight(out_width, in_width, channels, x, width_scale);
152 const float width_scale = local
161 channels, height_scale, width_scale, min, max, b, x, y, c);
resize_bicubic_op_test.cc 124 const float width_scale = in_width / static_cast<float>(out_width); local
136 GetWeightsAndIndices(width_scale, x, in_width, &x_weights,
crop_and_resize_op.cc 235 const float width_scale =
257 ? x1 * (image_width - 1) + x * width_scale
430 const float width_scale = local
447 ? x1 * (image_width - 1) + x * width_scale
604 const float width_scale = (crop_width > 1) ? (x2 - x1) * width_ratio : 0; local
619 ? x1 * (image_width - 1) + x * width_scale
resize_bilinear_op_test.cc 79 const float width_scale = in_width / static_cast<float>(out_width); local
89 const float in_x = x * width_scale;
resize_bicubic_op.cc 168 GetWeightsAndIndices(resizer_state.width_scale, x, resizer_state.in_width,
188 GetWeightsAndIndices(resizer_state.width_scale, x,
conv_ops_fused.cc 242 in_x *= st.width_scale;
665 st.width_scale = 1.0f;
    [all...]
  /external/tensorflow/tensorflow/contrib/pi_examples/label_image/
label_image.cc 164 const float width_scale = static_cast<float>(image_width) / wanted_width; local
176 const float in_x = x * width_scale;
  /external/tensorflow/tensorflow/contrib/pi_examples/camera/
camera.cc 353 const float width_scale = static_cast<float>(image_width) / wanted_width; local
365 const float in_x = x * width_scale;
  /external/tensorflow/tensorflow/contrib/lite/kernels/internal/reference/
reference_ops.h     [all...]
  /external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
optimized_ops.h     [all...]

Completed in 668 milliseconds