lamp.nn.TransformerEncoderBlock$
See theTransformerEncoderBlock companion class
object TransformerEncoderBlock
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Members list
Type members
Classlikes
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
def apply[S : Sc](in: Int, attentionHiddenPerHeadDim: Int, attentionNumHeads: Int, mlpHiddenDim: Int, out: Int, dropout: Double, tOpt: STenOptions, linearized: Boolean, gptOrder: Boolean, causalMask: Boolean): TransformerEncoderBlock
Implicits
Implicits
In this article