original_docstring: Sets the learning rate to the initial LR decayed by 10 every 30 epochs
docstring: Sets the learning rate to the initial LR decayed by 10 every 30 epochs
docstring_tokens: Sets the learning rate to the initial LR decayed by 10 every 30 epochs
code: def adjust_learning_rate(optimizer, epoch):
      """Sets the learning rate to the initial LR decayed by 10 every 30 epochs"""
      lr = args.lr * (0.1 ** (epoch // 30))
      for param_group in optimizer.param_groups:
          param_group['lr'] = lr
code_tokens: def adjust_learning_rate ( optimizer , epoch ) : lr = args . lr * ( 0.1 ** ( epoch // 30 ) ) for param_group in optimizer . param_groups : param_group [ 'lr' ] = lr
short_docstring: Sets the learning rate to the initial LR decayed by 10 every 30 epochs
short_docstring_tokens: Sets the learning rate to the initial LR decayed by 10 every 30 epochs
comment: """Sets the learning rate to the initial LR decayed by 10 every 30 epochs"""