parameters: (self)
return_statement: return self.spec.shape
docstring: Returns the `TensorShape` that represents the shape of the tensor.
docstring_summary: Returns the `TensorShape` that represents the shape of the tensor.
docstring_tokens: Returns the TensorShape that represents the shape of the tensor .
function: def shape(self):
          """Returns the `TensorShape` that represents the shape of the tensor."""
          return self.spec.shape
function_tokens: def shape ( self ) : return self . spec . shape