original_docstring: Concatenates input vectors, statically if possible.
docstring: Concatenates input vectors, statically if possible.
docstring_tokens: Concatenates input vectors statically if possible .
code: def concat_vectors(*args):
    """Concatenates input vectors, statically if possible."""
    args_ = [distribution_util.static_value(x) for x in args]
    if any(vec is None for vec in args_):
      return array_ops.concat(args, axis=0)
    return [val for vec in args_ for val in vec]
code_tokens: def concat_vectors ( * args ) : args_ = [ distribution_util . static_value ( x ) for x in args ] if any ( vec is None for vec in args_ ) : return array_ops . concat ( args , axis = 0 ) return [ val for vec in args_ for val in vec ]
short_docstring: Concatenates input vectors, statically if possible.
short_docstring_tokens: Concatenates input vectors statically if possible .
comment: """Concatenates input vectors, statically if possible."""