Struct Item

Struct Documentation

struct Item

Public Functions

const char *data() const
size_t size() const
void append(const Item &other)
template<typename From, typename To>
void convertFromTo()
template<typename T>
void convertTo()
void convert(Type toType)

Public Members

std::vector<char> bytes
const char *ptr = {0}
bool mapped = {false}
std::string name
Shape shape
Type type = {Type::float32}