Struct DataType

struct DataType

Subclassed by morpheus::DType

Public Functions

DataType(TypeId tid)
TypeId type_id() const
size_t item_size() const
std::string name() const
std::string type_str() const
bool operator==(const DataType &other) const

Public Static Functions

template<typename T>
static inline DataType create()
static DataType from_numpy(const std::string &numpy_str)

Protected Functions

char type_char() const

Protected Attributes

TypeId m_type_id

© Copyright 2023, NVIDIA. Last updated on Feb 3, 2023.