MCPcopy Create free account
hub / github.com/VainF/DeepLabV3Plus-Pytorch / ExtRandomCrop

Class ExtRandomCrop

utils/ext_transforms.py:327–396  ·  view source on GitHub ↗

Crop the given PIL Image at a random location. Args: size (sequence or int): Desired output size of the crop. If size is an int instead of sequence like (h, w), a square crop (size, size) is made. padding (int or sequence, optional): Optional padding on ea

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected