make_generator: creates a generator for training

View source: R/generator.R

make_generatorR 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


deepregression documentation built on Jan. 18, 2023, 1:11 a.m.