Share via


PatchEmbed(Int32, Int32) Constructor

Definition

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.

Applies to