0152660a10414335b57a30cd99a6e3648df64491,catalyst/dl/callbacks/optimizer.py,,,#,130

Before Change


            safitty.set(optimizer.param_groups, i, "weight_decay", value=wd)


__all__ = ["OptimizerCallback"]

After Change


from catalyst.dl.utils import get_optimizer_momentum
from catalyst.dl.utils.torch import _Optimizer

logger = logging.getLogger(__name__)


class OptimizerCallback(Callback):
    
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 8

Instances


Project Name: Scitator/catalyst
Commit Name: 0152660a10414335b57a30cd99a6e3648df64491
Time: 2019-09-16
Author: tez.romach@gmail.com
File Name: catalyst/dl/callbacks/optimizer.py
Class Name:
Method Name:


Project Name: Scitator/catalyst
Commit Name: 0152660a10414335b57a30cd99a6e3648df64491
Time: 2019-09-16
Author: tez.romach@gmail.com
File Name: catalyst/dl/callbacks/criterion.py
Class Name:
Method Name:


Project Name: catalyst-team/catalyst
Commit Name: 9bce7ef869d52acd83cae40698fff7f31aa09fd4
Time: 2019-09-12
Author: dima3001@yandex.ru
File Name: catalyst/dl/runner/supervised.py
Class Name:
Method Name: