Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 5878451

Browse files
committed
Add small modification on the documentation.
1 parent 46606ca commit 5878451

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

python/mxnet/gluon/contrib/estimator/event_handler.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class MetricHandler(EpochBegin, BatchEnd):
132132
Training metrics to be updated at batch end.
133133
priority : scalar
134134
Priority level of the MetricHandler. Priority level is sorted in ascending
135-
order. The lower the number is, the higher priority level it is.
135+
order. The lower the number is, the higher priority level the handler is.
136136
"""
137137

138138
def __init__(self, train_metrics, priority=-1000):
@@ -181,7 +181,8 @@ class ValidationHandler(TrainBegin, BatchEnd, EpochEnd):
181181
:py:class:`ValidationHandler` does not validate at batch end.
182182
priority: scalar, default -1000
183183
Priority level of the ValidationHandler. Priority level is sorted in
184-
ascending order. The lower the number is, the higher priority level it is.
184+
ascending order. The lower the number is, the higher priority level the
185+
handler is.
185186
"""
186187

187188
def __init__(self,
@@ -244,7 +245,8 @@ class LoggingHandler(TrainBegin, TrainEnd, EpochBegin, EpochEnd, BatchBegin, Bat
244245
Validation metrics to be logged, logged at epoch end, train end.
245246
priority : scalar, default np.Inf
246247
Priority level of the LoggingHandler. Priority level is sorted in
247-
ascending order. The lower the number is, the higher priority level it is.
248+
ascending order. The lower the number is, the higher priority level the
249+
handler is.
248250
"""
249251

250252
LOG_PER_EPOCH = 1
@@ -728,7 +730,7 @@ class GradientUpdateHandler(BatchEnd):
728730
----------
729731
priority : scalar, default -2000
730732
priority level of the gradient update handler. Priority level is sorted in ascending
731-
order. The lower the number is, the higher priority level it is.
733+
order. The lower the number is, the higher priority level the handler is.
732734
----------
733735
"""
734736
def __init__(self, priority=-2000):

0 commit comments

Comments
 (0)