code: def data(self):
      data = libane.ANE_TensorData(self.tt)
      assert data is not None
      # print(hex(addressof(data.contents)))
      buf = np.ctypeslib.as_array(data, shape=(self.sz,))
      ret = np.frombuffer(buf, dtype=self.dtype)
      # print(ret.data)
      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 2 for calling the ANETensor obj's underlying member method code with example usage: obj.data() and returns: ret