tensorflow_probability/python/internal/nest_util.py
def expand_as_args(args):
  """Returns `True` if `args` should be expanded as `*args`."""
  return (isinstance(args, collections.Sequence) and
          not _is_namedtuple(args) and not _force_leaf(args))
def expand_as_args(args):
  """Returns `True` if `args` should be expanded as `*args`."""
  return (isinstance(args, collections.Sequence) and
          not _is_namedtuple(args) and not _force_leaf(args))
Returns `True` if `args` should be expanded as `*args`.