code: def _get_shape_out_type():
      # Historically, tf.int32 is the default for out_type for tf.shape.
      # Support limited cases where tf.int64 is the default.
      # TODO(b/282720125) Long-term, if tf.int64 becomes the default for out_type,
      # only handle this case (i.e. delete _get_shape_out_type and use
      # `out_type=tf.int64` in _shape's signature.)
      return tf_inspect.getfullargspec(tf.shape).defaults[0]
  
imports: import decorator
  import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal.backend import numpy
  from tensorflow.python.framework import tensor_util
  from tensorflow.python.ops import control_flow_case
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 21 for calling a global function with example usage: _get_shape_out_type() and returns: tf_inspect