Home
last modified time | relevance | path

Searched refs:offset_height (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/image/
Drandom_crop_op.cc76 int32 offset_height = 0; in Compute() local
86 offset_height = random.Rand32() % (height - target_height + 1); in Compute()
98 input_data(y + offset_height, x + offset_width, c); in Compute()
Dsample_distorted_bounding_box_op.cc381 const int offset_height = crop_rect.min_y_; in DoCompute() local
388 OP_REQUIRES(context, height >= target_height + offset_height, in DoCompute()
391 target_height, " + ", offset_height)); in DoCompute()
409 begin_data(0) = T(offset_height); in DoCompute()
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_test.py1698 def _CropToBoundingBox(self, x, offset_height, offset_width, target_height, argument
1701 offset_height = ops.convert_to_tensor(offset_height)
1709 y = image_ops.crop_to_bounding_box(x_tensor, offset_height, offset_width,
1718 offset_height, argument
1729 y_tf = self._CropToBoundingBox(x, offset_height, offset_width,
1737 offset_height, argument
1749 self._CropToBoundingBox(x, offset_height, offset_width, target_height,
1766 offset_height, offset_width = [1, 0]
1769 self._assertReturns(x, x_shape, offset_height, offset_width, y, y_shape)
1771 offset_height, offset_width = [0, 1]
[all …]
Dimage_ops_impl.py994 def pad_to_bounding_box(image, offset_height, offset_width, target_height, argument
1072 after_padding_height = target_height - offset_height - height
1074 assert_ops += _assert(offset_height >= 0, ValueError,
1087 0, 0, offset_height, after_padding_height, offset_width,
1106 def crop_to_bounding_box(image, offset_height, offset_width, target_height, argument
1159 assert_ops += _assert(offset_height >= 0, ValueError,
1167 assert_ops += _assert(height >= (target_height + offset_height), ValueError,
1172 image, array_ops.stack([0, offset_height, offset_width, 0]),
/external/rust/crates/plotters/src/style/font/
Dweb.rs41 let height = elem.offset_height() as i32; in estimate_layout()
/external/tensorflow/tensorflow/python/kernel_tests/
Ddecode_jpeg_op_test.py105 offset_height=crop_window[0],
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.image.pbtxt49 …argspec: "args=[\'image\', \'offset_height\', \'offset_width\', \'target_height\', \'target_width\…
145 …argspec: "args=[\'image\', \'offset_height\', \'offset_width\', \'target_height\', \'target_width\…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.image.pbtxt49 …argspec: "args=[\'image\', \'offset_height\', \'offset_width\', \'target_height\', \'target_width\…
149 …argspec: "args=[\'image\', \'offset_height\', \'offset_width\', \'target_height\', \'target_width\…
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_SampleDistortedBoundingBoxV2.pbtxt28 1-D, containing `[offset_height, offset_width, 0]`. Provide as input to
Dapi_def_SampleDistortedBoundingBox.pbtxt19 1-D, containing `[offset_height, offset_width, 0]`. Provide as input to
Dapi_def_StatelessSampleDistortedBoundingBox.pbtxt35 1-D, containing `[offset_height, offset_width, 0]`. Provide as input to