class_docstr: _IOTensor
class_docstr_tok: ["_IOTensor"]
docstr: The `TensorSpec` of values in this tensor.
code: def spec(self):
      """The `TensorSpec` of values in this tensor."""
      return self._spec
  
imports: import tensorflow
label_desc: Use image node_id 2 for calling the _IOTensor obj's underlying member method code with example usage: obj.spec() and returns: self