code: def unpack(self, dat):
      dat = struct.unpack("Q" * (len(dat) // 8), dat)
      ret = {}
      for k, v in aneregs:
          by, bi, sz = v
          bi += (by % 8) * 8
          by //= 8
          rv = (dat[by] >> bi) & ((1 << sz) - 1)
          ret[k] = rv
      return ret
  
imports: from pathlib import Path
  from ctypes import *
  import json
  import collections
  import numpy
  import faulthandler
  import struct
label_desc: Use image node_id 5 for calling the ANE obj's underlying member method code with example usage: obj.unpack(dat) and returns: ret