flashquad.methods.rand

Backend-native random number generation.

Module Contents

Functions

_rand

Generate uniform random samples on the target device when possible.

API

flashquad.methods.rand._rand(xp, shape, dtype, device)

Generate uniform random samples on the target device when possible.