wrap
wrap(func, *args, unsqueeze=False)
func
args
unsqueeze
False
Wrap a torch function so it can be called with NumPy arrays. Input and return types are seamlessly converted.
deterministic_random
deterministic_random(min_value, max_value, data)
min_value
max_value
data
Pseudorandom generator that returns an int over some given interval and data.