code: def __init__(self, *shape):
      self.shape = shape
      self.dtype = np.float16
      self.sz = int(np.prod(shape))
      assert self.sz <= 0x4000
      self.tt = libane.ANE_TensorCreate(self.sz, 1)
      assert self.tt is not None
  
imports: from pathlib import Path
  from ctypes import *
  import json
  import collections
  import numpy
  import faulthandler
  import struct
label_desc: Use image node_id 1 to create a new ANETensor object  with example: obj = ANETensor()