class_docstr: Arm(R) Ethos(TM)-U NPU config class
class_docstr_tok: ["Arm","(","R",")","Ethos","(","TM",")","-U","NPU","config","class"]
docstr: Get cycle estimate for weight decoding
  
  Parameters
  ----------
  op_type: str
      The NPU primitive operator
          "ethosu_pooling"
  
  Returns
  ----------
  int
      Estimated cycles for weight decoding
docstr_tok: ["Get","cycle","estimate","for","weight","decoding","Parameters","--","--","--","--","--","op_type",":","str","The","NPU","primitive","operator","``","ethosu_pooling","''","Returns","--","--","--","--","--","int","Estimated","cycles","for","weight","decoding"]
code: def _get_weight_decoder_cycles(self, op_type: str) -> int:
      """Get cycle estimate for weight decoding
  
      Parameters
      ----------
      op_type: str
          The NPU primitive operator
              "ethosu_pooling"
  
      Returns
      ----------
      int
          Estimated cycles for weight decoding
      """
      if op_type in ("ethosu_conv2d", "ethosu_depthwise2d"):
          return 32 * self._micro_block.depth // 8
  
      return 0
  
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 4 for calling the EthosuDeviceConfig obj's underlying member method code with example usage: obj._get_weight_decoder_cycles(op_type) and returns: int, unknown