SimpleSelfAttention: SimpleSelfAttention

View source: R/layers.R

SimpleSelfAttentionR Documentation

SimpleSelfAttention

Description

Same as 'nn()$Module', but no need for subclasses to call 'super()$__init__'

Usage

SimpleSelfAttention(n_in, ks = 1, sym = FALSE)

Arguments

n_in

inputs

ks

kernel size

sym

sym

Value

None


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