forked from mindspore-Ecosystem/mindspore
normalize log in optimizer in python
This commit is contained in:
parent
c3162db06b
commit
149839952b
|
@ -14,7 +14,6 @@
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
"""optimizer"""
|
"""optimizer"""
|
||||||
from typing import Iterable
|
from typing import Iterable
|
||||||
import logging
|
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
|
@ -24,8 +23,8 @@ from mindspore.common.parameter import Parameter, ParameterTuple
|
||||||
from mindspore._checkparam import ParamValidator as validator
|
from mindspore._checkparam import ParamValidator as validator
|
||||||
from mindspore._checkparam import Rel
|
from mindspore._checkparam import Rel
|
||||||
from mindspore.common.tensor import Tensor
|
from mindspore.common.tensor import Tensor
|
||||||
|
from mindspore import log as logger
|
||||||
|
|
||||||
logger = logging.getLogger('Optimizer')
|
|
||||||
|
|
||||||
__all__ = ['Optimizer']
|
__all__ = ['Optimizer']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue