feed_forward {transformer}R Documentation

Feed Forward Layer

Description

Feed Forward Layer

Usage

feed_forward(x, dff, d_model)

Arguments

x

inputs

dff

dimensions of feed-forward model

d_model

dimensions of the model

Value

output of the feed-forward layer


[Package transformer version 0.2.0 Index]