fix mass lr import.

This commit is contained in:
linqingke 2020-12-14 21:12:54 +08:00
parent 2c13468772
commit f26003e723
1 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,9 @@ from math import ceil
import numpy as np
import mindspore.nn.learning_rate_schedule as lr_schedules
from mindspore import Tensor
from mindspore.ops import operations as P
import mindspore.common.dtype as mstype
def square_root_schedule(lr, update_num, decay_start_step,
warmup_steps=2000,