/external/tensorflow/tensorflow/core/kernels/ |
D | random_crop_op.cc | 81 int32 offset_width = 0; in Compute() local 87 offset_width = random.Rand32() % (width - target_width + 1); in Compute() 102 input_data(y + offset_height, x + offset_width, c); in Compute()
|
D | sample_distorted_bounding_box_op.cc | 365 const int offset_width = crop_rect.min_x_; in Compute() local 369 OP_REQUIRES(context, width >= target_width + offset_width, in Compute() 372 "vs ", target_width, " + ", offset_width)); in Compute() 397 begin_data(1) = T(offset_width); in Compute()
|
/external/python/cpython3/Lib/ |
D | dis.py | 213 def _disassemble(self, lineno_width=3, mark_as_current=False, offset_width=4): argument 239 fields.append(repr(self.offset).rjust(offset_width)) 385 offset_width = len(str(maxoffset)) 387 offset_width = 4 397 print(instr._disassemble(lineno_width, is_current_instr, offset_width),
|
D | sre_compile.py | 621 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/ |
D | image_ops_test.py | 1499 def _CropToBoundingBox(self, x, offset_height, offset_width, target_height, argument 1503 offset_width = ops.convert_to_tensor(offset_width) 1512 y = image_ops.crop_to_bounding_box(x_tensor, offset_height, offset_width, 1524 offset_width, argument 1534 y_tf = self._CropToBoundingBox(x, offset_height, offset_width, 1543 offset_width, argument 1553 self._CropToBoundingBox(x, offset_height, offset_width, target_height, 1577 offset_height, offset_width = [1, 0] 1580 self._assertReturns(x, x_shape, offset_height, offset_width, y, y_shape) 1582 offset_height, offset_width = [0, 1] [all …]
|
D | image_ops_impl.py | 663 def pad_to_bounding_box(image, offset_height, offset_width, target_height, argument 711 after_padding_width = target_width - offset_width - width 717 assert_ops += _assert(offset_width >= 0, ValueError, 728 0, 0, offset_height, after_padding_height, offset_width, 746 def crop_to_bounding_box(image, offset_height, offset_width, target_height, argument 795 assert_ops += _assert(offset_width >= 0, ValueError, 803 assert_ops += _assert(width >= (target_width + offset_width), ValueError, 810 image, array_ops.stack([0, offset_height, offset_width, 0]),
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/revnet/ |
D | resnet_preprocessing.py | 120 offset_width = ((image_width - padded_center_crop_size) + 1) // 2 121 crop_window = tf.stack([offset_height, offset_width,
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.image.pbtxt | 49 …argspec: "args=[\'image\', \'offset_height\', \'offset_width\', \'target_height\', \'target_width\… 137 …argspec: "args=[\'image\', \'offset_height\', \'offset_width\', \'target_height\', \'target_width\…
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | decode_jpeg_op_test.py | 99 offset_width=crop_window[1],
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.image.pbtxt | 49 …argspec: "args=[\'image\', \'offset_height\', \'offset_width\', \'target_height\', \'target_width\… 137 …argspec: "args=[\'image\', \'offset_height\', \'offset_width\', \'target_height\', \'target_width\…
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_SampleDistortedBoundingBox.pbtxt | 19 1-D, containing `[offset_height, offset_width, 0]`. Provide as input to
|
D | api_def_SampleDistortedBoundingBoxV2.pbtxt | 28 1-D, containing `[offset_height, offset_width, 0]`. Provide as input to
|