I want to get x_train/train and x_test/ytest from my train_ds and test_ds in tensorflow.
How do I convert?
I want to implement HParams, so I need the following structure:
model.fit(x_train, y_train, epochs=1) # Run with 1 epoch to speed things up for demo purposes
_, accuracy = model.evaluate(x_test, y_test)
return accuracy