class_docstr: Arm(R) Ethos(TM)-U NPU config class
class_docstr_tok: ["Arm","(","R",")","Ethos","(","TM",")","-U","NPU","config","class"]
code: def _get_input_size(
      self,
      output_size: int,
      kernel_stride: int,
      border: int,
      upscaling_factor: int,
  ) -> int:
      return int(
          math.ceil(((output_size - 1) * kernel_stride + border))
          / upscaling_factor
      )
  
imports: from typing import Tuple, List, Dict, Optional
  from functools import reduce
  import math
  import numpy
  import tvm
  from .None import BlockConfig
  from .None import StripeConfig
  from .None import Propagator
label_desc: Use image node_id 7 for calling the EthosuDeviceConfig obj's underlying member method code with example usage: obj._get_input_size(output_size, kernel_stride, border, upscaling_factor) and returns: int