Class Tanh

Inheritance Relationships

Base Type

Class Documentation

class Tanh : public marian::rnn::Cell

Public Functions

Tanh(Ptr<ExpressionGraph> graph, Ptr<Options> options)
State apply(std::vector<Expr> inputs, State states, Expr mask = nullptr)
std::vector<Expr> applyInput(std::vector<Expr> inputs)
State applyState(std::vector<Expr> xWs, State state, Expr mask = nullptr)