code: def load(self, data, offset):
      orig_offset = offset
      (n_dims, name_len, dtype) = struct.unpack(
          "<3I", data[offset : offset + 12]
      )
      assert (
          n_dims >= 0 and n_dims <= 4
      ), f"Invalid tensor dimensions {n_dims}"
      assert name_len < 4096, "Absurd tensor name length"
      quant = gguf.GGML_QUANT_SIZES.get(dtype)
      assert quant is not None, "Unknown tensor type"
      (blksize, tysize) = quant
      offset += 12
      self.dtype = dtype
      self.dims = struct.unpack(
          f"<{n_dims}I", data[offset : offset + (4 * n_dims)]
      )
      offset += 4 * n_dims
      self.name = bytes(data[offset : offset + name_len])
      offset += name_len
      pad = ((offset + 31) & ~31) - offset if self.use_padding else 0
      offset += pad
      n_elems = np.prod(self.dims)
      n_bytes = np.int64(
          np.int64(n_elems) * np.int64(tysize)
      ) // np.int64(blksize)
      self.start_offset = offset
      self.len_bytes = n_bytes
      offset += n_bytes
      # print(n_dims, name_len, dtype, self.dims, self.name, pad)
      return offset - orig_offset
  
imports: from __future__ import annotations
  import argparse
  import struct
  import sys
  from enum import IntEnum
  from pathlib import Path
  import numpy
  import os
  import gguf
label_desc: Use image node_id 2 for calling the Tensor obj's underlying member method code with example usage: obj.load(data, offset) and returns: unknown