共用方式為


PatchEmbed 類別

定義

PatchEmbed 層。

public class PatchEmbed : TorchSharp.torch.nn.Module<TorchSharp.torch.Tensor,TorchSharp.torch.Tensor>
type PatchEmbed = class
    inherit torch.nn.Module<torch.Tensor, torch.Tensor>
Public Class PatchEmbed
Inherits torch.nn.Module(Of torch.Tensor, torch.Tensor)
繼承
torch.nn.Module<TorchSharp.torch.Tensor,TorchSharp.torch.Tensor>
PatchEmbed

建構函式

PatchEmbed(Int32, Int32)

初始化 PatchEmbed 類別的新執行個體。

方法

forward(torch+Tensor)

PatchEmbed 層。

適用於