Share via


ConvLayer(Int32, Int32, Int32, Double) Constructor

Definition

Initializes a new instance of the ConvLayer class.

public ConvLayer (int inChannels, int outChannels, int depth, double convExpandRatio = 4);
new Microsoft.ML.TorchSharp.AutoFormerV2.ConvLayer : int * int * int * double -> Microsoft.ML.TorchSharp.AutoFormerV2.ConvLayer
Public Sub New (inChannels As Integer, outChannels As Integer, depth As Integer, Optional convExpandRatio As Double = 4)

Parameters

inChannels
Int32

The input channels.

outChannels
Int32

The output channels.

depth
Int32

The number of blocks.

convExpandRatio
Double

The expand ratio of convolution layer.

Applies to