Table of Contents

Class FusedElementwiseActivationOp

Namespace
AiDotNet.JitCompiler.IR.Operations
Assembly
AiDotNet.dll

Fused element-wise operation with activation.

public class FusedElementwiseActivationOp : IROp
Inheritance
FusedElementwiseActivationOp
Inherited Members

Remarks

For Beginners: Combines element-wise math with activation.

Examples: Add + ReLU Multiply + Sigmoid Subtract + Tanh

Very common in residual connections and skip connections. Saves memory by not storing intermediate results.

Properties

ActivationName

Gets or sets the activation function name.

public string ActivationName { get; set; }

Property Value

string

ElementwiseOp

Gets or sets the element-wise operation type.

public string ElementwiseOp { get; set; }

Property Value

string

Methods

Validate()

Validates inputs (2 inputs for binary element-wise ops).

public override bool Validate()

Returns

bool