def convert_to_conv_params(centers_data):
    """Converts input data to convolution compatible format of parameters.

    :param centers_data: Input data
    :return: Parameters for convolution layer
    """

    assert len(centers_data.shape) == 2

    num_centers = centers_data.shape[0]
    embedding_size = centers_data.shape[1]

    return centers_data.reshape([num_centers, embedding_size, 1, 1])