forked from mindspore-Ecosystem/mindspore
!240 Normalize log in optimizer in python
Merge pull request !240 from zhangbuxue/normalize_log_in_optimizer_in_python
This commit is contained in:
commit
4d528b0d22
|
@ -14,7 +14,6 @@
|
|||
# ============================================================================
|
||||
"""optimizer"""
|
||||
from typing import Iterable
|
||||
import logging
|
||||
|
||||
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 Rel
|
||||
from mindspore.common.tensor import Tensor
|
||||
from mindspore import log as logger
|
||||
|
||||
logger = logging.getLogger('Optimizer')
|
||||
|
||||
__all__ = ['Optimizer']
|
||||
|
||||
|
|
Loading…
Reference in New Issue