Skip to content

Commit

Permalink
Merge pull request #342 from simonpf/fix_qrnn_loss
Browse files Browse the repository at this point in the history
Remove space in __name__ attribute of custom loss function to make it
compatible with newer TF versions.
  • Loading branch information
olemke authored Jan 24, 2020
2 parents 95cb40a + 5d04ba4 commit 632e283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typhon/retrieval/qrnn/qrnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class QuantileLoss:
"""

def __init__(self, quantiles):
self.__name__ = "Quantile Loss"
self.__name__ = "QuantileLoss"
self.quantiles = quantiles

def __call__(self, y_true, y_pred):
Expand Down

0 comments on commit 632e283

Please sign in to comment.