Class Stackable

Inheritance Relationships

Base Type

  • public std::enable_shared_from_this< Stackable >

Derived Types

Class Documentation

class Stackable : public std::enable_shared_from_this<Stackable>

Subclassed by marian::rnn::Cell, marian::rnn::CellInput

Public Functions

Stackable(Ptr<Options> options)
virtual ~Stackable()
template<typename Cast>
Ptr<Cast> as()
template<typename Cast>
bool is()
Ptr<Options> getOptions()
template<typename T>
T opt(const std::string &key)
template<typename T>
T opt(const std::string &key, T defaultValue)
virtual void clear() = 0

Protected Attributes

Ptr<Options> options_