code: def make_divisible(v: int, divisor: int = 8, min_value: int = None):
      min_value = min_value or divisor
      new_v = max(min_value, int(v + divisor / 2) // divisor * divisor)
      if (
          new_v < 0.9 * v
      ):  # ensure round down does not go down by more than 10%.
          new_v += divisor
      return new_v
  
imports: import re
  from copy import deepcopy
  from .conv2d_layers import *
  from geffnet.activations import *
label_desc: Use image node_id 5 for calling a global function with example usage: make_divisible(v, divisor, min_value) and returns: new_v