class_docstr: ScalarIOTensor
  
  A `ScalarIOTensor` is an `IOTensor` from a scalar `Tensor`.
class_docstr_tok: ["ScalarIOTensor","A","`","ScalarIOTensor","`","is","an","`","IOTensor","`","from","a","scalar","`","Tensor","`","."]
code: def __init__(self, spec, tensor, internal=False):
      tensor = tf.convert_to_tensor(tensor)
  
      self._tensor = tensor
      super().__init__(spec, None, internal=internal)
  
imports: import tensorflow
label_desc: Use image node_id 1 to create a new ScalarIOTensor object from inherited base classes: BaseIOTensor with example: obj = ScalarIOTensor(spec, tensor, internal)