sampling_generator {ttgsea} | R Documentation |
This is a generator function that yields batches of training data then pass the function to the "fit_generator" function.
sampling_generator(X_data, Y_data, batch_size)
X_data |
inputs |
Y_data |
targets |
batch_size |
batch size |
generator for "fit_generator"
Dongmin Jung
X_data <- matrix(rnorm(200), ncol = 2) Y_data <- matrix(rnorm(100), ncol = 1) sampling_generator(X_data, Y_data, 32)