Define FUSE_LOSS_SERIALIZE_DEFINITION

Define Documentation

FUSE_LOSS_SERIALIZE_DEFINITION(...)

Implementation of the serialize() and deserialize() member functions for derived classes.

Usage:

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