HomeSort by relevance Sort by last modified time
    Searched refs:in_width (Results 1 - 25 of 32) sorted by null

1 2

  /external/tensorflow/tensorflow/core/kernels/
resize_nearest_neighbor_op_gpu.cu.cc 38 const int in_width, const int channels, const int out_height,
50 const T* bottom_data_n = bottom_data + n * channels * in_height * in_width;
58 in_width - 1);
59 const int idx = (in_y * in_width + in_x) * channels + c;
67 const int in_width, const int channels, const int out_height,
74 int in_x = n % in_width;
75 n /= in_width;
105 const int64 in_width = input.dimension(2); local
117 output_size, input.data(), in_height, in_width, channels,
139 const int64 in_width = input.dimension(2) local
    [all...]
resize_bilinear_op_gpu.cu.cc 38 int batch, int in_height, int in_width,
60 (in_x < in_width - 1) ? ceilf(in_x) : in_width - 1;
64 images[((b * in_height + top_y_index) * in_width + left_x_index) *
68 images[((b * in_height + top_y_index) * in_width + right_x_index) *
72 images[((b * in_height + bottom_y_index) * in_width + left_x_index) *
76 images[((b * in_height + bottom_y_index) * in_width + right_x_index) *
157 const int in_width = images.dimension(2); local
170 width_scale, batch, in_height, in_width, channels, out_height,
resize_area_op.cc 72 int64 offset = 3 * BOUND_IF_NEEDED(x_interp.start, st.in_width);
79 int64 offset = 3 * BOUND_IF_NEEDED(x, st.in_width);
85 offset = 3 * BOUND_IF_NEEDED(x_interp.end - 1, st.in_width);
123 BOUND_IF_NEEDED(x_interp.start, st.in_width) +
129 ptr[num_channels * BOUND_IF_NEEDED(x, st.in_width) + c]);
134 BOUND_IF_NEEDED(x_interp.end - 1, st.in_width) +
178 Bound(x_interp.start, st.in_width) != x_interp.start ||
179 Bound(x_interp.end - 1, st.in_width) != (x_interp.end - 1);
239 input_ptr + (b * st.in_height * st.in_width * st.channels +
240 Bound(i, st.in_height) * st.in_width * st.channels))
    [all...]
depthwise_conv_op_gpu.cu.cc 76 const int in_width = args.in_cols; local
112 input_row_end < in_height && input_col_end < in_width) {
123 in_depth * (in_col + in_width * (in_row + input_offset_temp));
140 in_col < in_width) {
145 in_depth * (in_col + in_width * (in_row + input_offset_temp));
180 const int in_width = args.in_cols;
195 const int block_size = block_height * in_width * kBlockDepth;
196 const int in_row_size = in_width * in_depth;
198 const int in_increment = (in_width - 1) * kBlockDepth;
200 const int tile_width = in_width + filter_width - 1
    [all...]
resize_nearest_neighbor_op.cc 52 OP_REQUIRES(context, st.in_height < (1 << 24) && st.in_width < (1 << 24),
93 const int64 in_width = input.dimension(2); local
109 in_width - 1);
149 const int64 in_width = input.dim_size(2); variable
171 CalculateResizeScale(out_width, in_width, align_corners_);
204 const int64 in_width = input.dimension(2); local
217 for (int x = 0; x < in_width; ++x) {
quantized_resize_bilinear_op_test.cc 109 const int64 in_height, const int64 in_width,
116 GetReferenceWeight(out_width, in_width, channels, x, width_scale);
120 const int64 in_row_size = in_width * channels;
144 const int64 in_height, const int64 in_width,
153 CalculateResizeScale(in_width, out_width, align_corners);
160 in_data, batch_size, in_height, in_width, out_height, out_width,
236 constexpr int IN_WIDTH = 128;
240 constexpr float SCALE = static_cast<float>(IN_WIDTH) / OUT_WIDTH;
241 Tensor image_quantized_tensor(DT_QINT32, TensorShape({1, 1, IN_WIDTH, 1}));
280 /*in_height=*/IN_WIDTH,
    [all...]
resize_area_op_test.cc 64 const int64 in_width = input_data.dimension(2); local
74 const float width_scale = in_width / static_cast<float>(out_width);
130 BOUND(j, in_width), c)) *
145 void RunRandomTest(int in_height, int in_width, int target_height,
148 SetRandomImageInput(TensorShape({1, in_height, in_width, channels}));
image_resizer_state.h 81 in_width = static_cast<int32>(input.dim_size(2));
92 width_scale = CalculateResizeScale(in_width, out_width, align_corners_);
122 int64 in_width; member in struct:tensorflow::ImageResizerState
resize_bicubic_op_test.cc 114 const int64 in_width = images.dimension(2); local
124 const float width_scale = in_width / static_cast<float>(out_width);
136 GetWeightsAndIndices(width_scale, x, in_width, &x_weights,
159 const int64 in_width, const int target_height,
161 LOG(INFO) << "Running random test " << in_height << "x" << in_width << "x"
165 TensorShape({batch_size, in_height, in_width, channels}));
resize_bilinear_op.cc 105 const int64 in_height, const int64 in_width, const int64 out_height,
113 const int64 in_width, const int64 out_height,
118 const int64 in_row_size = in_width * channels;
209 const int64 in_width = images.dimension(2); local
216 if (out_height == in_height && out_width == in_width) {
227 compute_interpolation_weights(out_width, in_width, width_scale, xs.data());
235 resize_image<T>(images, batch_size, in_height, in_width, out_height,
quantized_resize_bilinear_op.cc 463 const int64 in_width, const int64 out_height,
471 BuildLerpCache<float>(out_width, in_width, width_scale, channels, 0);
475 const int64 in_row_size = in_width * channels;
511 const int64 in_width, const int64 out_height,
516 ResizeImageReference<T>(images, batch_size, in_height, in_width, out_height,
524 const int64 in_width, const int64 out_height,
536 out_width, in_width, width_scale, channels, RESOLUTION);
540 const int64 in_row_size = in_width * channels;
585 const int64 in_width, const int64 out_height,
597 out_width, in_width, width_scale, channels, RESOLUTION)
654 const int64 in_width = images.dimension(2); local
    [all...]
ops_util_test.cc 34 int in_width; member in struct:tensorflow::__anon39856::OpsUtilTest::padding_struct::__anon39857
78 pad_struct.input.in_width, pad_struct.input.filter_width,
93 pad_struct.input.in_width, pad_struct.input.filter_width,
112 pad_struct.input.in_width, pad_struct.input.filter_width,
resize_bilinear_op_test.cc 69 const int64 in_width = images.dimension(2); local
79 const float width_scale = in_width / static_cast<float>(out_width);
92 std::min(static_cast<int64>(ceilf(in_x)), in_width - 1);
resize_bicubic_op.cc 168 GetWeightsAndIndices(resizer_state.width_scale, x, resizer_state.in_width,
233 const int64 in_row_width = resizer_state.in_width * num_channels;
  /external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/
ViESurfaceRenderer.java 61 int in_width, int in_height) {
64 changeDestRect(in_width, in_height);
67 " in_width:" + in_width + " in_height:" + in_height +
  /external/webrtc/talk/media/base/
videocommon.cc 211 void ComputeScaleToSquarePixels(int in_width, int in_height,
214 *scaled_width = in_width; // Keep width the same.
videoadapter.cc 260 VideoFormat VideoAdapter::AdaptFrameResolution(int in_width, int in_height) {
265 in_width, in_height, input_format_.interval, input_format_.fourcc));
295 << " Input: " << in_width
305 in_width, in_height, output_num_pixels_);
306 const int output_width = static_cast<int>(in_width * scale + .5f);
334 << " Input: " << in_width
videoadapter.h 63 VideoFormat AdaptFrameResolution(int in_width, int in_height);
videocommon.h 176 void ComputeScaleToSquarePixels(int in_width, int in_height,
  /external/tensorflow/tensorflow/python/kernel_tests/
depthtospace_op_test.py 230 def compareToTranspose(self, batch_size, in_height, in_width, out_channels,
233 nhwc_input_shape = [batch_size, in_height, in_width, in_channels]
234 nchw_input_shape = [batch_size, in_channels, in_height, in_width]
spacetodepth_op_test.py 230 in_width = out_width * block_size
231 nhwc_input_shape = [batch_size, in_height, in_width, in_channels]
232 nchw_input_shape = [batch_size, in_channels, in_height, in_width]
  /external/webrtc/webrtc/video/
send_statistics_proxy.cc 97 int in_width = input_width_counter_.Avg(kMinRequiredSamples); local
100 if (in_width != -1) {
102 in_width);
  /hardware/qcom/display/msm8909/sdm/libs/utils/
rect.cpp 237 float in_width = in_rect.right - in_rect.left; local
245 out_rect->left = out_rect->right - in_width;
  /hardware/qcom/display/msm8909w_3100/sdm/libs/utils/
rect.cpp 232 float in_width = in_rect.right - in_rect.left; local
240 out_rect->left = out_rect->right - in_width;
  /hardware/qcom/display/msm8998/sdm/libs/utils/
rect.cpp 232 float in_width = in_rect.right - in_rect.left; local
240 out_rect->left = out_rect->right - in_width;

Completed in 1247 milliseconds

1 2