|
| Data (const OptionSet &options) |
| Construct a new Data object.
|
|
const std::vector< Data * > & | registered_data () const |
| All the registered data objects.
|
|
| NEML2Object ()=delete |
|
| NEML2Object (NEML2Object &&)=delete |
|
| NEML2Object (const NEML2Object &)=delete |
|
NEML2Object & | operator= (NEML2Object &&)=delete |
|
NEML2Object & | operator= (const NEML2Object &)=delete |
|
virtual | ~NEML2Object ()=default |
|
| NEML2Object (const OptionSet &options) |
| Construct a new NEML2Object object.
|
|
const OptionSet & | input_options () const |
|
virtual void | setup () |
| Setup this object.
|
|
const std::string & | name () const |
| A readonly reference to the object's name.
|
|
const std::string & | type () const |
| A readonly reference to the object's type.
|
|
const std::string & | path () const |
| A readonly reference to the object's path.
|
|
const std::string & | doc () const |
| A readonly reference to the object's docstring.
|
|
template<typename T = NEML2Object> |
const T * | host () const |
| Get a readonly pointer to the host.
|
|
template<typename T = NEML2Object> |
T * | host () |
| Get a writable pointer to the host.
|
|
| BufferStore (NEML2Object *object) |
|
| BufferStore (const BufferStore &)=delete |
|
| BufferStore (BufferStore &&)=delete |
|
BufferStore & | operator= (const BufferStore &)=delete |
|
BufferStore & | operator= (BufferStore &&)=delete |
|
virtual | ~BufferStore ()=default |
|
const std::map< std::string, std::unique_ptr< TensorValueBase > > & | named_buffers () const |
|
std::map< std::string, std::unique_ptr< TensorValueBase > > & | named_buffers () |
|
const TensorValueBase & | get_buffer (const std::string &name) const |
| }@
|
|
TensorValueBase & | get_buffer (const std::string &name) |
| Get a writable reference of a buffer.
|
|