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 June 22, 2024, 11:15 a.m.