ONE - On-device Neural Engine
|
#include <Gaussian.h>
Public Member Functions | |
GaussianFloat16DataChef (float mean, float stddev) | |
std::vector< uint8_t > | generate (int32_t count) const override |
Generate a sequence of 'count' elements as a byte sequence. | |
Public Member Functions inherited from souschef::DataChef | |
virtual | ~DataChef ()=default |
Definition at line 44 of file Gaussian.h.
|
inline |
Definition at line 47 of file Gaussian.h.
|
overridevirtual |
Generate a sequence of 'count' elements as a byte sequence.
Let D be the return value of generate(N). Then, D.size() == N * sizeof(T) where T is the element type.
Implements souschef::DataChef.
Definition at line 75 of file Gaussian.cpp.