NLA-lib Explorer

NLAlib.Ops.sampleVector

Library · def

Draw n stored words from a named stream into an output vector. The stream is fixed in the program, while the batch length is an evaluated dimension.

NLAlib.Ops.sampleVector {Op Tst : Type} [Ops.Has Ops.SampleOp Op] (stream : ℕ) : Ops.Stmt Op Tst

Full source on GitHub

Import NLAlib.Ops.Blas.Sampling.