ONE - On-device Neural Engine
|
Class to print operand of feature to ostream in the given string format. More...
#include <TextFormatter.h>
Public Member Functions | |
TextFormatter (const Shape &shape, const Reader< T > &data) | |
Construct TextFormatter object with an operand's information. | |
const Shape & | shape (void) const |
Get Shape of feature as the lvalue reference. | |
const Reader< T > & | data (void) const |
Get Reader<T> that can read the data of an operand. | |
Class to print operand of feature to ostream in the given string format.
Definition at line 43 of file TextFormatter.h.
|
inline |
Construct TextFormatter object with an operand's information.
[in] | shape | The shape of an operand |
[in] | data | The data of an operand |
Definition at line 51 of file TextFormatter.h.
|
inline |
Get Reader<T> that can read the data of an operand.
Definition at line 66 of file TextFormatter.h.
|
inline |
Get Shape of feature as the lvalue reference.
Definition at line 61 of file TextFormatter.h.
Referenced by RandomDataGenerator.RandomDataGenerator::_gen_float32(), RandomDataGenerator.RandomDataGenerator::_gen_int16(), and RandomDataGenerator.RandomDataGenerator::_gen_uint8().