from tensorflow.contrib.layers.python.ops import sparse_feature_cross_op

    """Tests the new version of the fingerprint concatenation has no collisions.
    """
    # Although the last 10 bits of 359 and 1024+359 are identical.
    # As a result, all the crosses shouldn't collide.
    t1 = constant_op.constant([[359], [359 + 1024]])
    t2 = constant_op.constant([list(range(10)), list(range(10))])
    cross = sparse_feature_cross_op.sparse_feature_cross(
        [t2, t1],
        hashed_output=True,
        num_buckets=1024,
        hash_key=layers.SPARSE_FEATURE_CROSS_DEFAULT_HASH_KEY)
    cross_dense = sparse_ops.sparse_tensor_to_dense(cross)
