Interface Projection
- All Known Implementing Classes:
Linear
Marker interface for linear projection layers (fully-connected, no activation).
Narrows Layer to layers that map [n × dIn] → [n × dOut] via a
learnable weight matrix (and optional bias). Used as the field type for the
LM-head slot in DecoderOnlyModel
so the constructor rejects anything that is not a projection.
-
Method Summary
Methods inherited from interface io.github.kirstenali.deepj.training.Trainable
parameters, zeroGrad