from tensorflow.python.ops import sparse_ops

        hashed_output=True,
        num_buckets=1024,
        hash_key=layers.SPARSE_FEATURE_CROSS_DEFAULT_HASH_KEY)
    cross_dense = sparse_ops.sparse_tensor_to_dense(cross)
    with session.Session():
      values = cross_dense.eval()
