Searched refs:update_cell (Results 1 – 7 of 7) sorted by relevance
/third_party/mindspore/mindspore/train/ |
D | amp.py | 200 update_cell = loss_scale_manager.get_update_cell() 201 if update_cell is not None: 209 scale_sense=update_cell).set_train() 212 … scale_sense=update_cell).set_train() 215 scale_sense=update_cell).set_train()
|
/third_party/mindspore/tests/ut/python/optimizer/ |
D | test_optimizer_with_loss_scale.py | 220 update_cell = scale_manager.get_update_cell() 221 train_network = TrainOneStepWithLossScaleCell(net_with_loss, optimizer, scale_sense=update_cell) 237 update_cell = scale_manager.get_update_cell() 238 train_network = TrainOneStepWithLossScaleCell(net_with_loss, optimizer, scale_sense=update_cell) 254 update_cell = scale_manager.get_update_cell() 255 train_network = TrainOneStepWithLossScaleCell(net_with_loss, optimizer, scale_sense=update_cell) 271 update_cell = scale_manager.get_update_cell() 272 train_network = TrainOneStepWithLossScaleCell(net_with_loss, optimizer, scale_sense=update_cell)
|
D | test_debug_location.py | 179 update_cell = scale_manager.get_update_cell() 180 train_network = TrainOneStepWithLossScaleCell(net_with_loss, optimizer, scale_sense=update_cell)
|
/third_party/mindspore/tests/perf_test/bert/ |
D | test_bert_train.py | 180 update_cell = LossScaleUpdateCell(manager) 182 scale_update_cell=update_cell) 207 update_cell = LossScaleUpdateCell(manager) 209 scale_update_cell=update_cell)
|
/third_party/mindspore/tests/ut/python/parallel/ |
D | test_loss_scale.py | 45 update_cell = DynamicLossScaleUpdateCell(loss_scale_value=65536, scale_factor=2, scale_window=1000) variable 188 net = TrainOneStepWithLossScaleCell(net, opt, update_cell) 201 net = nn.TrainOneStepWithLossScaleCell(net, opt, update_cell)
|
D | test_parallel_transformer.py | 281 … update_cell = DynamicLossScaleUpdateCell(loss_scale_value=1024, scale_factor=2, scale_window=1000) 283 scale_sense=update_cell)
|
/third_party/mindspore/tests/st/model_zoo_tests/transformer/ |
D | test_transformer.py | 179 update_cell = scale_manager.get_update_cell() 181 scale_update_cell=update_cell)
|