PatchEmbed(Int32, Int32) 构造函数

定义

初始化 PatchEmbed 类的新实例。

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)

参数

inChannels
Int32

输入通道。

embedChannels
Int32

输出通道。

适用于