Home
last modified time | relevance | path

Searched refs:offset_width (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/image/
Drandom_crop_op.cc77 int32 offset_width = 0; in Compute() local
83 offset_width = random.Rand32() % (width - target_width + 1); in Compute()
98 input_data(y + offset_height, x + offset_width, c); in Compute()
Dsample_distorted_bounding_box_op.cc380 const int offset_width = crop_rect.min_x_; in DoCompute() local
384 OP_REQUIRES(context, width >= target_width + offset_width, in DoCompute()
387 "vs ", target_width, " + ", offset_width)); in DoCompute()
412 begin_data(1) = T(offset_width); in DoCompute()
/external/python/cpython3/Lib/
Ddis.py223 def _disassemble(self, lineno_width=3, mark_as_current=False, offset_width=4): argument
249 fields.append(repr(self.offset).rjust(offset_width))
398 offset_width = len(str(maxoffset))
400 offset_width = 4
410 print(instr._disassemble(lineno_width, is_current_instr, offset_width),
Dsre_compile.py621 offset_width = len(str(len(code) - 1))
628 print('%*d%s ' % (offset_width, start, ':' if start in labels else '.'),
633 print(end=' '*(offset_width + 2*level))
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_test.py1698 def _CropToBoundingBox(self, x, offset_height, offset_width, target_height, argument
1702 offset_width = ops.convert_to_tensor(offset_width)
1709 y = image_ops.crop_to_bounding_box(x_tensor, offset_height, offset_width,
1719 offset_width, argument
1729 y_tf = self._CropToBoundingBox(x, offset_height, offset_width,
1738 offset_width, 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
1070 after_padding_width = target_width - offset_width - width
1076 assert_ops += _assert(offset_width >= 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
1157 assert_ops += _assert(offset_width >= 0, ValueError,
1165 assert_ops += _assert(width >= (target_width + offset_width), ValueError,
1172 image, array_ops.stack([0, offset_height, offset_width, 0]),
/external/rust/crates/plotters/src/style/font/
Dweb.rs42 let width = elem.offset_width() as i32; in estimate_layout()
/external/tensorflow/tensorflow/python/kernel_tests/
Ddecode_jpeg_op_test.py106 offset_width=crop_window[1],
/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