code: def __init__(self, shape: List[int], type: str):
      self.shape = shape
      self.type = type
  
imports: from abc import ABCMeta
  import sys
  from typing import Mapping, List
  from py4j import java_gateway
  from synapse.ml.onnx._ONNXModel import _ONNXModel
  from pyspark.ml.common import inherit_doc
  from py4j.java_gateway import JavaObject
label_desc: Use image node_id 1 to create a new TensorInfo object from inherited base classes: ValueInfo with example: obj = TensorInfo(shape, type)