class_docstr: _IOTensor
class_docstr_tok: ["_IOTensor"]
code: def __init__(self, spec, internal=False):
      if not internal:
          raise ValueError(
              "IOTensor constructor is private; please use one "
              "of the factory methods instead (e.g., "
              "IOTensor.from_tensor())"
          )
      self._spec = spec
      super().__init__()
  
imports: import tensorflow
label_desc: Use image node_id 1 to create a new _IOTensor object  with example: obj = _IOTensor(spec, internal)