How can I create two distincts Input and Target tf.data.Dataset from a tf.data.Dataset containing both Input and Target data so that I can uses them as x and y parameters of the model.fit function?
I use the code below to load the dataset
dataset = tf.data.TFRecordDataset(
dataset_file_path,
compression_type='GZIP',
buffer_size=None,
num_parallel_reads=None
)