Define FUSE_LOSS_DEFINITIONS

Define Documentation

FUSE_LOSS_DEFINITIONS(...)

Convenience function that creates the required pointer aliases, clone() method, and type() method.

Usage:

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