Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/DALI
/ rand_range
Function
rand_range
dali/test/python/operator_1/test_coord_transform.py:250–251 ·
view source on GitHub ↗
(limit)
Source
from the content-addressed store, hash-verified
248
return
np.float32(np_rng.uniform(-100, 250, (num_points, 2)))
249
250
def
rand_range(limit):
251
return
range(rng.randint(1, limit) + 1)
252
253
def
m(sample_desc):
254
angles = np_rng.uniform(-np.pi, np.pi, 2)
Callers
1
test_sequences
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected