You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an improvement, it would be great to "define a protocol ChunkedLoss or something having a method e.g. def base_loss(self, *args, **kwargs) and have all of CEWithChunkedOutputLoss, ForwardKLWithChunkedOutputLoss, ReverseKLWithChunkedOutputLoss, SymmetricKLWithChunkedOutputLoss inherit from that."
As an improvement, it would be great to "define a protocol
ChunkedLoss
or something having a method e.g.def base_loss(self, *args, **kwargs)
and have all ofCEWithChunkedOutputLoss, ForwardKLWithChunkedOutputLoss, ReverseKLWithChunkedOutputLoss, SymmetricKLWithChunkedOutputLoss
inherit from that."Code: _compile.py
Context:
This is based on the discussion in PR #2094.
The text was updated successfully, but these errors were encountered: