Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
16
def
_rand_image(shape=(20, 20)):
17
return
np.random.rand(*shape).astype(
"float32"
)
18
19
20
class
LegacyBrightness(ImageAugmentor):
Callers
4
test_augmentors
Method · 0.85
test_legacy_usage
Method · 0.85
test_legacy_augs_new_usage
Method · 0.85
test_legacy_augs_legacy_usage
Method · 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…