View Source Rein.Utils.CircularBuffer (rein v0.0.1)

Circular Buffer utility via Nx Containers.

Summary

Functions

Link to this function

append_multiple(buffer, items)

View Source
Link to this function

new(shape, opts \\ [init_value: 0, type: :f32])

View Source

Returns the data starting at the current index.

The oldest persisted entry will be the first entry in the result, and so on.