make_generator {deepregression}R Documentation

creates a generator for training

Description

creates a generator for training

Usage

make_generator(
  input_x,
  input_y = NULL,
  batch_size,
  sizes,
  shuffle = TRUE,
  seed = 42L
)

Arguments

input_x

list of matrices

input_y

list of matrix

batch_size

integer

sizes

sizes of the image including colour channel

shuffle

logical for shuffling data

seed

seed for shuffling in generators

Value

generator for all x and y


[Package deepregression version 1.0.0 Index]