What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-19 23:45:03
how to use validation split data as validation data in callback
x = np.random.randn(150, 9) y = np.random.randint(0, 10, 150) x_train, y_train, x_val, y_val = split(x, y) train_dataset = tf.data.Dataset.from_tensor_slices((x_train, tf.one_hot(y_train, depth=10))) train_dataset = train_dataset.batch(32).repeat() val... Add solution
Best helpers
Ranking is empty