MCPcopy Create free account
hub / github.com/tensorpack/tensorpack / _rand_image

Function _rand_image

tensorpack/dataflow/imgaug/imgaug_test.py:16–17  ·  view source on GitHub ↗
(shape=(20, 20))

Source from the content-addressed store, hash-verified

14
15
16def _rand_image(shape=(20, 20)):
17 return np.random.rand(*shape).astype("float32")
18
19
20class LegacyBrightness(ImageAugmentor):

Callers 4

test_augmentorsMethod · 0.85
test_legacy_usageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…