Class FusedDenseLayerOp
- Namespace
- AiDotNet.JitCompiler.IR.Operations
- Assembly
- AiDotNet.dll
Fused matrix multiply + add + activation (full dense layer).
public class FusedDenseLayerOp : IROp
- Inheritance
-
FusedDenseLayerOp
- Inherited Members
Remarks
For Beginners: The ultimate fusion - entire dense layer in one op!
Combines: MatMul + Add bias + Activation → One operation
Example: output = activation(input @ weights + bias)
This is THE most common pattern in neural networks. Can be 3-5x faster than three separate operations!
Properties
ActivationName
Gets or sets the activation function name.
public string ActivationName { get; set; }
Property Value
Methods
Validate()
Validates inputs (input, weights, bias).
public override bool Validate()