ONE - On-device Neural Engine
|
#include <Explicit.h>
Public Member Functions | |
ExplicitUint4DataChef () | |
std::vector< uint8_t > | generate (int32_t count) const override |
Generate a sequence of 'count' elements as a byte sequence. | |
void | insert (const uint8_t &value) |
Public Member Functions inherited from souschef::DataChef | |
virtual | ~DataChef ()=default |
Definition at line 168 of file Explicit.h.
|
inline |
Definition at line 171 of file Explicit.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 116 of file Explicit.cpp.
|
inline |
Definition at line 180 of file Explicit.h.