MCPcopy Create free account
hub / github.com/OpenBMB/VisRAG / _decode_and_random_crop

Function _decode_and_random_crop

timm_modified/timm/data/tf_preprocessing.py:92–111  ·  view source on GitHub ↗

Make a random crop of image_size.

(image_bytes, image_size, resize_method)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

preprocess_for_trainFunction · 0.85

Calls 3

_at_least_x_are_equalFunction · 0.85
_decode_and_center_cropFunction · 0.85

Tested by

no test coverage detected