ConvLayer(Int32, Int32, Int32, Double) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.