Table of Contents

Class NeckConfig

Namespace
AiDotNet.ComputerVision.Detection.Necks
Assembly
AiDotNet.dll

Configuration for neck modules.

public class NeckConfig
Inheritance
NeckConfig
Inherited Members

Properties

Activation

Activation function to use (e.g., "relu", "silu", "gelu").

public string Activation { get; set; }

Property Value

string

InputChannels

Input channels from the backbone at each level.

public int[] InputChannels { get; set; }

Property Value

int[]

NumLevels

Number of feature pyramid levels.

public int NumLevels { get; set; }

Property Value

int

OutputChannels

Number of output channels for all feature levels.

public int OutputChannels { get; set; }

Property Value

int

UseBatchNorm

Whether to use batch normalization.

public bool UseBatchNorm { get; set; }

Property Value

bool

UseExtraConvs

Whether to add extra convolution layers for feature refinement.

public bool UseExtraConvs { get; set; }

Property Value

bool