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 类的新实例。

方法

Dispose(Boolean)

PatchEmbed 层。

forward(torch+Tensor)

PatchEmbed 层。

适用于