Define FUSE_LOSS_TYPE_DEFINITION

Define Documentation

FUSE_LOSS_TYPE_DEFINITION(...)

Implements the type() member function using the suggested implementation.

Also creates a static detail::type() function that may be used without an object instance

Usage:

class Derived : public Loss
{
public:
  FUSE_LOSS_TYPE_DEFINITION(Derived)
  // The rest of the derived loss function implementation
}