class_docstr: Arm(R) Ethos(TM)-U NPU config class
class_docstr_tok: ["Arm","(","R",")","Ethos","(","TM",")","-U","NPU","config","class"]
code: def _get_accumulator_width(self, op_type: str, ifm_dtype: str):
      if ifm_dtype == "int16" and op_type != "ethosu_pooling":
          return 5
  
      return 4
  
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 12 for calling the EthosuDeviceConfig obj's underlying member method code with example usage: obj._get_accumulator_width(op_type, ifm_dtype) and returns: int, int