Share via


PatchEmbed Class

Definition

The PatchEmbed layer.

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)
Inheritance
torch.nn.Module<TorchSharp.torch.Tensor,TorchSharp.torch.Tensor>
PatchEmbed

Constructors

PatchEmbed(Int32, Int32)

Initializes a new instance of the PatchEmbed class.

Methods

forward(torch+Tensor) TorchSharp.torch.nn.Module`2.forward(TorchSharp.torch.Tensor)

Applies to