SentenceEncoder: SentenceEncoder

View source: R/text_models.R

SentenceEncoderR Documentation

SentenceEncoder

Description

Create an encoder over 'module' that can process a full sentence.

Usage

SentenceEncoder(bptt, module, pad_idx = 1, max_len = NULL)

Arguments

bptt

bptt

module

module

pad_idx

pad_idx

max_len

max_len

Value

None


fastai documentation built on June 22, 2024, 11:15 a.m.