SimpleSelfAttention: SimpleSelfAttention

Description Usage Arguments Value

View source: R/layers.R

Description

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

Usage

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

Arguments

n_in

inputs

ks

kernel size

sym

sym

Value

None


fastai documentation built on July 28, 2021, 5:06 p.m.