code: def _make_divisible(ch, divisor=8, min_ch=None):
      """
      This function is taken from the original tf repo.
      It ensures that all layers have a channel number that is divisible by 8
      It can be seen here:
      https://github.com/tensorflow/models/blob/master/research/slim/nets/mobilenet/mobilenet.py
      """
      if min_ch is None:
          min_ch = divisor
      new_ch = max(min_ch, int(ch + divisor / 2) // divisor * divisor)
      # Make sure that round down does not go down by more than 10%.
      if new_ch < 0.9 * ch:
          new_ch += divisor
      return new_ch
  
imports: from typing import Optional
  import numpy
  import torch
  import torch.nn
  from torch import Tensor
label_desc: Use image node_id 1 for calling a global function with example usage: _make_divisible(ch, divisor, min_ch) and returns: new_ch