Home
last modified time | relevance | path

Searched refs:input_height (Results 1 – 25 of 50) sorted by relevance

12

/external/tensorflow/tensorflow/examples/label_image/
Dlabel_image.py39 input_height=299, argument
59 resized = tf.image.resize_bilinear(dims_expander, [input_height, input_width])
80 input_height = 299 variable
105 if args.input_height:
106 input_height = args.input_height variable
121 input_height=input_height,
Dmain.cc114 Status ReadTensorFromImageFile(const string& file_name, const int input_height, in ReadTensorFromImageFile() argument
166 Const(root.WithOpName("size"), {input_height, input_width})); in ReadTensorFromImageFile()
286 int32 input_height = 299; in main() local
298 Flag("input_height", &input_height, in main()
336 ReadTensorFromImageFile(image_path, input_height, input_width, input_mean, in main()
/external/tensorflow/tensorflow/core/kernels/
Dconv_ops_using_gemm.cc89 int input_batches, int input_height, int input_width, in operator ()() argument
115 input_height + 1) / in operator ()()
121 ((output_height - 1) * stride_rows + filter_height - input_height) / in operator ()()
165 (in_y < input_height)) { in operator ()()
167 input_data[(batch * input_height * input_width * in operator ()()
212 int input_batches, int input_height, int input_width, in operator ()() argument
217 if ((input_batches <= 0) || (input_width <= 0) || (input_height <= 0) || in operator ()()
220 << input_batches << ", " << input_height << ", " in operator ()()
241 const int m = input_batches * input_height * input_width; in operator ()()
251 } else if (filter_height == input_height && filter_width == input_width && in operator ()()
[all …]
Dquantized_activation_ops_test.cc48 const int input_height = 4; in TEST_F() local
49 Tensor input_float(DT_FLOAT, {input_height, input_width}); in TEST_F()
53 Tensor expected_float(DT_FLOAT, {input_height, input_width}); in TEST_F()
79 const int input_height = 4; in TEST_F() local
80 Tensor input_float(DT_FLOAT, {input_height, input_width}); in TEST_F()
84 Tensor expected_float(DT_FLOAT, {input_height, input_width}); in TEST_F()
Dquantized_pooling_ops_test.cc53 const int input_height = 4; in TEST_F() local
56 Tensor input_float(DT_FLOAT, {1, input_height, input_width, input_channels}); in TEST_F()
65 const int expected_height = input_height / stride; in TEST_F()
98 const int input_height = 4; in TEST_F() local
101 Tensor input_float(DT_FLOAT, {1, input_height, input_width, input_channels}); in TEST_F()
110 const int expected_height = input_height / stride; in TEST_F()
Dquantized_bias_add_op_test.cc53 const int input_height = 2; in TEST_F() local
55 Tensor input_float(DT_FLOAT, {input_height, input_width}); in TEST_F()
69 Tensor expected_float(DT_FLOAT, {input_height, input_width}); in TEST_F()
103 const int input_height = 1; in TEST_F() local
105 Tensor input_float(DT_FLOAT, {input_height, input_width}); in TEST_F()
141 Tensor expected_float(DT_FLOAT, {input_height, input_width}); in TEST_F()
Ddepthtospace_op_gpu.cu.cc37 const int input_height, const int input_width, in D2S_NHWC() argument
57 in_d + input_depth * (in_w + input_width * (in_h + input_height * b)); in D2S_NHWC()
152 const int input_height = input.dimension(1); in operator ()() local
164 input_height, input_width, input_depth, output_height, output_width, in operator ()()
179 const int input_height = input.dimension(2); in operator ()() local
182 const int input_area = input_width * input_height; in operator ()()
219 output_depth * input_height, output.data()); in operator ()()
Deigen_attention.h86 const Index input_height = in.dimension(2); in eval() local
89 eigen_assert(input_height > 0); in eval()
99 y *= input_height; in eval()
106 y += input_height / 2.0f; in eval()
138 } else if (offset_y + height_ >= input_height) { in eval()
139 glimpse_height = (std::max<Index>)(0, input_height - offset_y); in eval()
144 slice_extent[2] = std::min<Index>(input_height, slice_extent[2]); in eval()
168 DSizes<Index, 2> input_size(input_width, input_height); in eval()
Dquantized_conv_ops.cc55 int input_batches, int input_height, int input_width, in operator ()() argument
93 ((output_height - 1) * stride + filter_height - input_height + 1) / 2; in operator ()()
98 ((output_height - 1) * stride + filter_height - input_height) / 2; in operator ()()
142 (in_y < input_height)) { in operator ()()
144 input_data[(batch * input_height * input_width * in operator ()()
201 int input_batches, int input_height, int input_width, in operator ()() argument
222 conv_functor(context, input_data, input_batches, input_height, in operator ()()
238 ((output_height - 1) * stride + filter_height - input_height + 1) / 2; in operator ()()
243 ((output_height - 1) * stride + filter_height - input_height) / 2; in operator ()()
306 input_data + (batch * input_height * input_width * input_depth); in operator ()()
[all …]
Dspacetodepth_op_gpu.cu.cc35 const int input_height, const int input_width, in S2D_NHWC() argument
45 const int h = inp_idx3 % input_height; in S2D_NHWC()
46 const int b = inp_idx3 / input_height; in S2D_NHWC()
148 const int input_height = input.dimension(1); in operator ()() local
156 batch_size * input_height * input_width * input_depth; in operator ()()
160 input_height, input_width, input_depth, output_height, output_width, in operator ()()
Dquantized_batch_norm_op_test.cc64 const int input_height = 1; in TEST_F() local
68 {input_batch, input_height, input_width, input_depth}); in TEST_F()
122 TensorShape({input_batch, input_height, input_width, input_depth})); in TEST_F()
161 const int input_height = 1; in TEST_F() local
165 {input_batch, input_height, input_width, input_depth}); in TEST_F()
219 TensorShape({input_batch, input_height, input_width, input_depth})); in TEST_F()
Dconv_ops_test.cc161 void CompareFusedAndSeparate(int input_width, int input_height, in CompareFusedAndSeparate() argument
172 TensorShape({1, input_height, input_width, input_depth})); in CompareFusedAndSeparate()
217 void CompareFusedPadOnlyAndSeparate(int input_width, int input_height, in CompareFusedPadOnlyAndSeparate() argument
226 TensorShape({1, input_height, input_width, input_depth})); in CompareFusedPadOnlyAndSeparate()
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/
Dxvmc_bench.c56 unsigned int input_height; member
72 config->input_height = DEFAULT_INPUT_HEIGHT; in ParseArgs()
88 if (sscanf(argv[++i], "%u", &config->input_height) != 1) in ParseArgs()
172 config->output_height = config->input_height; in ParseArgs()
202 mbh = align(config.input_height, MACROBLOCK_HEIGHT) / MACROBLOCK_HEIGHT; in main()
210 config.input_height, in main()
238 …ontext(display, port_num, surface_type_id, config.input_width, config.input_height, XVMC_DIRECT, &… in main()
278 …assert(XvMCPutSurface(display, &surface, window, 0, 0, config.input_width, config.input_height, 0,… in main()
287 …printf("Input: %u,%u\nOutput: %u,%u\n", config.input_width, config.input_height, config.output_wid… in main()
/external/libxcam/tests/
Dtest-image-blend.cpp42 static uint32_t input_height = 960; variable
211 input_height = atoi(optarg); in main()
251 printf ("input/output height:%d\n", input_height); in main()
258 output_height = input_height; in main()
259 input_buf_info0.init (input_format, input_width0, input_height); in main()
260 input_buf_info1.init (input_format, input_width1, input_height); in main()
289 …input_format, input_width0, input_height, XCAM_ALIGN_UP (input_width0, 16), XCAM_ALIGN_UP(input_he… in main()
291 …input_format, input_width1, input_height, XCAM_ALIGN_UP (input_width1, 16), XCAM_ALIGN_UP(input_he… in main()
312 display, dma_fd0, input_width0, input_height, in_size, in main()
315 display, dma_fd1, input_width0, input_height, in_size, in main()
Dtest-video-stabilization.cpp76 uint32_t input_height = 1080; in main() local
119 input_height = atoi(optarg); in main()
120 output_height = input_height; in main()
154 printf ("input height:%d\n", input_height); in main()
202 input_buf_info.init (input_format, input_width, input_height); in main()
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
Dmultithreaded_conv.h117 int input_height, int input_width, int input_depth, in operator()
137 } else if (filter_height == input_height && filter_width == input_width && in operator()
153 ConstEigenTensor input(input_data, input_batches, input_height, in operator()
175 const int input_height = ArraySize(input_dims, 2); in Conv() local
182 conv_functor(input_data, im2col_data, batches, input_height, input_width, in Conv()
/external/tensorflow/tensorflow/tools/benchmark/
Dbenchmark_model_test.cc35 const int input_height = 10; in TEST() local
37 input.shape = TensorShape({input_width, input_height}); in TEST()
39 const TensorShape constant_shape({input_height, input_width}); in TEST()
/external/tensorflow/tensorflow/contrib/lite/kernels/
Dspace_to_depth.cc57 const int input_height = input->dims->data[1]; in Prepare() local
59 int output_height = input_height / block_size; in Prepare()
62 TF_LITE_ENSURE_EQ(context, input_height, output_height * block_size); in Prepare()
/external/tensorflow/tensorflow/examples/multibox_detector/
Dmain.cc72 Status ReadTensorFromImageFile(const string& file_name, const int input_height, in ReadTensorFromImageFile() argument
114 Const(root.WithOpName("size"), {input_height, input_width})); in ReadTensorFromImageFile()
337 int32 input_height = 224; in main() local
355 Flag("input_height", &input_height, in main()
401 ReadTensorFromImageFile(image_path, input_height, input_width, input_mean, in main()
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/reference/
Dreference_ops.h173 const int input_height = ArraySize(input_dims, 2); in Conv() local
194 (in_y < input_height)) { in Conv()
267 const int input_height = ArraySize(input_dims, 2); in Conv() local
288 (in_y < input_height)) { in Conv()
369 const int input_height = ArraySize(input_dims, 2); in DepthToSpace() local
378 TFLITE_DCHECK_EQ(input_height * block_size, output_height); in DepthToSpace()
410 const int input_height = ArraySize(input_dims, 2); in SpaceToDepth() local
419 TFLITE_DCHECK_EQ(input_height, output_height * block_size); in SpaceToDepth()
424 for (int in_h = 0; in_h < input_height; ++in_h) { in SpaceToDepth()
1693 const int input_height = ArraySize(input_dims, 2); in AveragePool() local
[all …]
Ddepthwiseconv_float.h35 const int input_height = ArraySize(input_dims, 2); in DepthwiseConv() local
60 (in_y < input_height)) { in DepthwiseConv()
Ddepthwiseconv_uint8.h41 const int input_height = ArraySize(input_dims, 2); in DepthwiseConv() local
66 (in_y < input_height)) { in DepthwiseConv()
/external/webrtc/webrtc/modules/video_coding/utility/
Dquality_scaler_unittest.cc107 int input_height,
368 int input_height, in DownscaleEndsAt() argument
373 input_frame_.CreateEmptyFrame(input_width, input_height, input_width, in DownscaleEndsAt()
377 int last_height = input_height; in DownscaleEndsAt()
/external/tensorflow/tensorflow/examples/image_retraining/
Dretrain.py640 random_brightness, input_width, input_height, argument
711 precrop_height = tf.multiply(scale_value, input_height)
718 [input_height, input_width, input_depth])
905 input_height = 299
962 input_height = int(size_string)
976 'input_height': input_height,
986 def add_jpeg_decoding(input_width, input_height, input_depth, input_mean, argument
1005 resize_shape = tf.stack([input_height, input_width])
/external/libxcam/cl_kernel/
Dkernel_bayer_pipe.cl61 int index, __read_only image2d_t input, uint input_height, int x_start, int y_start
74 r = read_imagef (input, sampler, (int2)(x0, y0 + input_height));
75 b = read_imagef (input, sampler, (int2)(x0, y0 + input_height * 2));
76 gb = read_imagef (input, sampler, (int2)(x0, y0 + input_height * 3));
334 uint input_height,
365 input, input_height,

12