make_generator: creates a generator for training

Description Usage Arguments Value

View source: R/generator.R

Description

creates a generator for training

Usage

1
2
3
4
5
6
7
8
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 Oct. 5, 2021, 1:06 a.m.