Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
MicroGPT::FeedForward
Inherits
MicroGPT::Layer
<
Reference
<
Object
Constructors
new
(d_model :
Int32
, d_ff :
Int32
)
Source
Instance methods
act
Source
backward
(grad :
Mat
) :
Mat
Source
backward_accumulate
(grad :
Mat
) :
Mat
Source
forward
(x :
Mat
) :
Mat
Source
l1
Source
l2
Source
update
(lr :
Float64
)
Source