PatchEmbed(Int32, Int32) 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 PatchEmbed class.
public PatchEmbed (int inChannels, int embedChannels);
new Microsoft.ML.TorchSharp.AutoFormerV2.PatchEmbed : int * int -> Microsoft.ML.TorchSharp.AutoFormerV2.PatchEmbed
Public Sub New (inChannels As Integer, embedChannels As Integer)
Parameters
- inChannels
- Int32
The input channels.
- embedChannels
- Int32
The output channels.