parameters: (op)
return_statement: return [tensor_shape.vector(None), input_shape]
docstring: Shape function for array_ops.Unique.
docstring_summary: Shape function for array_ops.Unique.
docstring_tokens: Shape function for array_ops . Unique .
function: def _UniqueShape(op):
    """Shape function for array_ops.Unique."""
    # The output is a vector with data-dependent length.
    input_shape = op.inputs[0].get_shape()
    input_shape.assert_has_rank(1)
    return [tensor_shape.vector(None), input_shape]
function_tokens: def _UniqueShape ( op ) : # The output is a vector with data-dependent length. input_shape = op . inputs [ 0 ] . get_shape ( ) input_shape . assert_has_rank ( 1 ) return [ tensor_shape . vector ( None ) , input_shape ]