Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
MicroGPT::Linear
Inherits
MicroGPT::Layer
<
Reference
<
Object
Constructors
new
(d_in :
Int32
, d_out :
Int32
)
Source
Instance methods
adam_b
Source
adam_w
Source
b
Source
backward
(grad :
Mat
) :
Mat
Source
backward_accumulate
(grad :
Mat
) :
Mat
Source
db
Source
dw
Source
forward
(x :
Mat
) :
Mat
Source
forward_matmul_only
(x :
Mat
) :
Mat
Matmul only (no bias) — for use with fused_bias_relu
Source
update
(lr :
Float64
)
Source
w
Source