# /*--------------------------------------------------------------------------------------------- # * Copyright (c) 2022 STMicroelectronics. # * All rights reserved. # * This software is licensed under terms that can be found in the LICENSE file in # * the root directory of this software component. # * If no LICENSE file comes with this software, it is provided AS-IS. # *--------------------------------------------------------------------------------------------*/ from .plot_learning_rate_schedule import plot_learning_rate_schedule from .lr_schedulers import get_scheduler_names, LRLinearDecay, LRExponentialDecay, LRStepDecay, LRCosineDecay, \ LRWarmupCosineDecay, LRCosineDecayRestarts, LRPolynomialDecay, LRPolynomialDecayRestarts, \ LRPiecewiseConstantDecay from .common_training import set_frozen_layers, set_dropout_rate, get_optimizer, set_all_layers_trainable_parameter