MCPcopy Create free account
hub / github.com/PanJinquan/tensorflow_models_learning / _crop

Function _crop

slim/preprocessing/vgg_preprocessing.py:47–87  ·  view source on GitHub ↗

Crops the given image using the provided offsets and sizes. Note that the method doesn't assume we know the input image size but it does assume we know the input image rank. Args: image: an image of shape [height, width, channels]. offset_height: a scalar tensor indicating the height

(image, offset_height, offset_width, crop_height, crop_width)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_random_cropFunction · 0.85
_central_cropFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected