Expand description
Data generation utilities for unit tests
Structs§
Traits§
Functions§
- generate_
random_ array - Create a random float32 array where each element is uniformly distributed between [0..1]
- generate_
random_ array_ with_ range - Create a random primitive array where each element is uniformly distributed a given range.
- generate_
random_ array_ with_ seed - Create a random float32 array.
- generate_
scaled_ random_ array - Create a random float32 array where each element is uniformly distributed across the given range
- sample_
indices - sample_
without_ replacement - some_
batch - Returns a non-empty batch of data
- some_
indexable_ batch - Returns a batch of data that has a column that can be used to create an ANN index