Share via


MBConv(Int32, Int32, Double) Constructor

Definition

Initializes a new instance of the MBConv class.

public MBConv (int inChannels, int outChannels, double expandRatio);
new Microsoft.ML.TorchSharp.AutoFormerV2.MBConv : int * int * double -> Microsoft.ML.TorchSharp.AutoFormerV2.MBConv
Public Sub New (inChannels As Integer, outChannels As Integer, expandRatio As Double)

Parameters

inChannels
Int32

The input channels.

outChannels
Int32

The output channels.

expandRatio
Double

The expand ratio.

Applies to