Define UNARY

Define Documentation

UNARY(name, name2, func)

Macro to set up unary-functions from marian::functional::Ops.

Parameters
  • name: name for the struct

  • name2: callable typedef

  • func: function wrapped