Struct IUnaryLayer

Inheritance Relationships

Derived Types

Struct Documentation

struct IUnaryLayer

Simplest layer interface: Unary function.

Subclassed by marian::IUnaryLogitLayer, marian::mlp::Dense

Public Functions

virtual ~IUnaryLayer()
virtual Expr apply(Expr) = 0

Link a node as the input for this layer.

virtual Expr apply(const std::vector<Expr> &es)

Link a list of nodes as the inputs for this layer.