pad_input: Pad_input

Description Usage Arguments Value

View source: R/text_data.R

Description

Function that collect 'samples' and adds padding

Usage

1
2
3
4
5
6
7
pad_input(
  samples,
  pad_idx = 1,
  pad_fields = 0,
  pad_first = FALSE,
  backwards = FALSE
)

Arguments

samples

samples

pad_idx

pad_idx

pad_fields

pad_fields

pad_first

pad_first

backwards

backwards

Value

None


fastai documentation built on Oct. 25, 2021, 5:08 p.m.