pad_input_chunk: Pad_input_chunk

View source: R/text_data.R

pad_input_chunkR Documentation

Pad_input_chunk

Description

Pad 'samples' by adding padding by chunks of size 'seq_len'

Usage

pad_input_chunk(samples, pad_idx = 1, pad_first = TRUE, seq_len = 72)

Arguments

samples

samples

pad_idx

pad_idx

pad_first

pad_first

seq_len

seq_len

Value

None


fastai documentation built on March 21, 2022, 9:07 a.m.