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

  /external/tensorflow/tensorflow/core/kernels/
resize_bilinear_op.h 29 const float height_scale, const float width_scale,
38 const float height_scale, const float width_scale,
resize_nearest_neighbor_op.h 29 const float height_scale, const float width_scale,
38 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,
53 floorf((static_cast<float>(out_y) + 0.5f) * height_scale)),
70 const int out_width, const float height_scale, const float width_scale,
83 min((align_corners) ? static_cast<int>(roundf(out_y * height_scale))
84 : static_cast<int>(floorf(out_y * height_scale)),
99 const int out_width, const float height_scale, const float width_scale,
113 floorf((static_cast<float>(in_y) + 0.5f) * height_scale)),
130 const int out_width, const float height_scale, const float width_scale,
143 min((align_corners) ? static_cast<int>(roundf(in_y * height_scale))
144 : static_cast<int>(floorf(in_y * height_scale)),
    [all...]
resize_nearest_neighbor_op.cc 70 context->eigen_device<Device>(), input_data, st.height_scale,
76 context->eigen_device<Device>(), input_data, st.height_scale,
84 context->eigen_device<Device>(), input_data, st.height_scale,
90 context->eigen_device<Device>(), input_data, st.height_scale,
134 const float height_scale, const float width_scale,
149 ? static_cast<Eigen::Index>(roundf(scaler(y, height_scale)))
150 : static_cast<Eigen::Index>(floorf(scaler(y, height_scale))),
224 const float height_scale = variable
235 context->eigen_device<Device>(), input_data, height_scale,
241 context->eigen_device<Device>(), input_data, height_scale,
    [all...]
resize_bilinear_op_gpu.cu.cc 37 float height_scale, float width_scale,
51 const float in_y = (static_cast<float>(y) + 0.5f) * height_scale - 0.5f;
89 const int32 nthreads, const float* input_grad, float height_scale,
103 (static_cast<float>(y) + 0.5f) * height_scale - 0.5f;
151 const T* images, float height_scale,
166 const float in_y = y * height_scale;
203 const int32 nthreads, const float* input_grad, float height_scale,
216 const float original_y = y * height_scale;
268 const float height_scale, const float width_scale,
287 height_scale, width_scale, batch, in_height, in_width, channels
    [all...]
image_resizer_state.h 74 // height_scale and width_scale, and calculates the output size.
116 height_scale = CalculateResizeScale(in_height, out_height, align_corners_);
121 ceilf((out_height - 1) * height_scale) <=
149 float height_scale; member in struct:tensorflow::ImageResizerState
200 height_scale =
218 float height_scale; member in struct:tensorflow::ImageResizerGradientState
resize_area_op_test.cc 73 const float height_scale = in_height / static_cast<float>(out_height); local
99 float scale = 1.0 / (height_scale * width_scale);
102 const float in_y = y * height_scale;
103 const float in_y1 = (y + 1) * height_scale;
120 ? (i + 1 > in_y1 ? height_scale : i + 1 - in_y)
resize_bilinear_op.cc 60 context->eigen_device<Device>(), image_data, st.height_scale,
213 const float height_scale, const float width_scale,
235 height_scale, ys.data()); local
242 height_scale, ys.data()); local
283 context->eigen_device<Device>(), input_grad, st.height_scale,
300 const float height_scale, const float width_scale,
321 const float in_y = scaler(y, height_scale);
354 const float height_scale, const float width_scale,
358 return ResizeGradCore(HalfPixelScaler(), input_grad, height_scale,
361 return ResizeGradCore(LegacyScaler(), input_grad, height_scale,
    [all...]
resize_area_op.cc 221 float scale = 1.0 / (st.height_scale * st.width_scale);
225 const float in_y = y * st.height_scale;
226 const float in_y1 = (y + 1) * st.height_scale;
236 scale_y = (i + 1 > in_y1 ? st.height_scale : i + 1 - in_y);
crop_and_resize_op_gpu.cu.cc 66 const float height_scale = local
73 ? y1 * (image_height - 1) + y * height_scale
158 const float height_scale = local
165 ? y1 * (image_height - 1) + y * height_scale
262 const float height_scale = (crop_height > 1) ? (y2 - y1) * height_ratio : 0; local
266 ? y1 * (image_height - 1) + y * height_scale
quantized_resize_bilinear_op.cc 471 const float height_scale, const float width_scale,
480 out_height, in_height, height_scale, 1, 0, half_pixel_centers);
520 const float height_scale, const float width_scale,
525 out_width, channels, height_scale, width_scale,
534 const float height_scale, const float width_scale,
548 out_height, in_height, height_scale, 1, RESOLUTION, half_pixel_centers);
597 const float height_scale, const float width_scale,
611 out_height, in_height, height_scale, 1, RESOLUTION, half_pixel_centers);
659 const float height_scale, const float width_scale,
681 out_width, channels, height_scale, width_scale
    [all...]
resize_bilinear_op_test.cc 81 const float height_scale = in_height / static_cast<float>(out_height); local
88 ? (static_cast<float>(y) + 0.5f) * height_scale - 0.5f
89 : y * height_scale;
quantized_resize_bilinear_op_test.cc 113 const float height_scale, const float width_scale,
119 half_pixel_centers, out_height, in_height, 1, y, height_scale);
152 const float height_scale = local
163 out_height, out_width, channels, height_scale, width_scale, min,
resize_bicubic_op_test.cc 124 const float height_scale = in_height / static_cast<float>(out_height); local
132 GetWeightsAndIndices(height_scale, y, in_height, &y_weights,
crop_and_resize_op.cc 231 const float height_scale =
241 ? y1 * (image_height - 1) + y * height_scale
456 const float height_scale = local
465 ? y1 * (image_height - 1) + y * height_scale
640 const float height_scale = local
646 ? y1 * (image_height - 1) + y * height_scale
    [all...]
resize_bicubic_op.cc 315 resizer_state.height_scale, y, resizer_state.in_height, &y_wai);
318 resizer_state.height_scale, y, resizer_state.in_height, &y_wai);
479 const float height_scale = resizer_state.height_scale; local
493 GetWeightsAndIndices<HalfPixelScaler, true>(height_scale, y,
496 GetWeightsAndIndices<LegacyScaler, false>(height_scale, y,
conv_ops_fused_image_transform.cc 194 in_y *= st.height_scale;
665 st.height_scale = 1.0f;
    [all...]
  /external/tensorflow/tensorflow/contrib/pi_examples/label_image/
label_image.cc 165 const float height_scale = static_cast<float>(image_height) / wanted_height; local
167 const float in_y = y * height_scale;
  /external/tensorflow/tensorflow/contrib/pi_examples/camera/
camera.cc 354 const float height_scale = static_cast<float>(image_height) / wanted_height; local
356 const float in_y = y * height_scale;
  /external/tensorflow/tensorflow/lite/kernels/internal/optimized/
optimized_ops.h 5699 float height_scale = static_cast<float>(input_height) \/ output_height; local
5741 float height_scale = local
    [all...]
  /external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
optimized_ops.h 6027 float height_scale = static_cast<float>(input_height) \/ output_height; local
6069 float height_scale = local
    [all...]
  /external/tensorflow/tensorflow/lite/kernels/internal/reference/
reference_ops.h     [all...]

Completed in 5336 milliseconds