Function marian::relu(const std::vector<Expr>&)

Function Documentation

Expr marian::relu(const std::vector<Expr> &nodes)

Rectified Linear Unit (ReLU).

Warning

not implemented for nodes of size > 1

Return

relu(nodes[0])