Define TERNARY

Define Documentation

TERNARY(name, name2, func)

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

Parameters
  • name: name for the struct

  • name2: callable typedef

  • func: function wrapped