HomeSort by relevance Sort by last modified time
    Searched refs:offset_width (Results 1 - 6 of 6) sorted by null

  /external/tensorflow/tensorflow/core/kernels/
random_crop_op.cc 81 int32 offset_width = 0; variable
87 offset_width = random.Rand32() % (width - target_width + 1);
102 input_data(y + offset_height, x + offset_width, c);
sample_distorted_bounding_box_op.cc 365 const int offset_width = crop_rect.min_x_; variable
369 OP_REQUIRES(context, width >= target_width + offset_width,
371 "width must be > target_width + offset_width: ", width,
372 "vs ", target_width, " + ", offset_width));
397 begin_data(1) = T(offset_width);
  /external/tensorflow/tensorflow/python/ops/
image_ops_test.py     [all...]
image_ops_impl.py 549 def pad_to_bounding_box(image, offset_height, offset_width, target_height,
553 Adds `offset_height` rows of zeros on top, `offset_width` columns of
564 offset_width: Number of columns of zeros to add on the left.
576 `target_*` arguments, or either `offset_height` or `offset_width` is
597 after_padding_width = target_width - offset_width - width
603 assert_ops += _assert(offset_width >= 0, ValueError,
604 'offset_width must be >= 0')
614 0, 0, offset_height, after_padding_height, offset_width,
632 def crop_to_bounding_box(image, offset_height, offset_width, target_height,
637 returned image is at `offset_height, offset_width` in `image`, and it
    [all...]
  /external/tensorflow/tensorflow/python/kernel_tests/
decode_jpeg_op_test.py 99 offset_width=crop_window[1],
  /external/tensorflow/tensorflow/go/op/
wrappers.go     [all...]

Completed in 655 milliseconds