Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tensorpack/tensorpack
/ _get_augment_params
Method
_get_augment_params
tensorpack/dataflow/imgaug/imgproc.py:62–63 ·
view source on GitHub ↗
(self, _)
Source
from the content-addressed store, hash-verified
60
self._init(locals())
61
62
def
_get_augment_params(self, _):
63
return
self._rand_range(-self.delta, self.delta)
64
65
def
_augment(self, img, v):
66
old_dtype = img.dtype
Callers
nothing calls this directly
Calls
1
_rand_range
Method · 0.80
Tested by
no test coverage detected