code: def annealing_linear(start, end, factor):
      """Calculate annealing linear learning rate.
  
      Linear anneal from `start` to `end` as percentage goes from 0.0 to 1.0.
  
      Args:
          start (float): The starting learning rate of the linear annealing.
          end (float): The ending learing rate of the linear annealing.
          factor (float): The coefficient of `pi` when calculating the current
              percentage. Range from 0.0 to 1.0.
      """
      return start + (end - start) * factor
  
imports: import numbers
  from math import cos, pi
  import annotator.uniformer.mmcv
  from .hook import HOOKS, Hook
label_desc: Use image node_id 3 for calling a global function with example usage: annealing_linear(start, end, factor) and returns: unknown