You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by wk...@apache.org on 2020/12/21 12:45:15 UTC

[incubator-mxnet] branch master updated: Fix spelling (#19663)

This is an automated email from the ASF dual-hosted git repository.

wkcn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 16e2b15  Fix spelling (#19663)
16e2b15 is described below

commit 16e2b15f6e334ca88f29b9c14e55547df2c136fc
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Mon Dec 21 22:43:53 2020 +1000

    Fix spelling (#19663)
---
 python/mxnet/gluon/loss.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/mxnet/gluon/loss.py b/python/mxnet/gluon/loss.py
index e293bdd..d0ebcb0 100644
--- a/python/mxnet/gluon/loss.py
+++ b/python/mxnet/gluon/loss.py
@@ -774,7 +774,7 @@ class LogisticLoss(Loss):
         super(LogisticLoss, self).__init__(weight, batch_axis, **kwargs)
         self._label_format = label_format
         if self._label_format not in ["signed", "binary"]:
-            raise ValueError("label_format can only be signed or binary, recieved %s."
+            raise ValueError("label_format can only be signed or binary, received %s."
                              % label_format)
 
     def hybrid_forward(self, F, pred, label, sample_weight=None):