def split_datasets(dataset):
    """
    splits combined tensorflow datasets
    :param dataset: Tensorflow dataset comprised of two or more subsets
    :return: dictionary with individiual datasets
    """
    tensors = {}
    names = list(dataset.element_spec.keys())
    for name in names:
        tensors[name] = dataset.map(lambda x: x[name])

    return tensors