class_docstr: Describes a numpy array or scalar shape and dtype.
  
  An `ArraySpec` allows an API to describe the arrays that it accepts or
  returns, before that array exists.
  The equivalent version describing a `tf.Tensor` is `TensorSpec`.
docstr: Returns a `tuple` specifying the array shape.
docstr_tok: ["Returns","a","`","tuple","`","specifying","the","array","shape","."]
code: def shape(self):
      """Returns a `tuple` specifying the array shape."""
      return self._shape
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numbers
  import gin
  import numpy
  import tensorflow
label_desc: Use image node_id 2 for calling the ArraySpec obj's underlying member method code with example usage: obj.shape() and returns: self