Struct DataType
Defined in File type_util_detail.hpp
Derived Type
public morpheus::DType
(Struct DType)
-
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
-
DataType(TypeId tid)