Share via


PatchMerging Class

Definition

The PatchMerging layer.

public class PatchMerging : TorchSharp.torch.nn.Module<TorchSharp.torch.Tensor,int,int,(TorchSharp.torch.Tensor, int, int)>
type PatchMerging = class
    inherit torch.nn.Module<torch.Tensor, int, int, ValueTuple<torch.Tensor, int, int>>
Public Class PatchMerging
Inherits torch.nn.Module(Of torch.Tensor, Integer, Integer, ValueTuple(Of torch.Tensor, Integer, Integer))
Inheritance
torch.nn.Module<TorchSharp.torch.Tensor,Int32,Int32,ValueTuple<TorchSharp.torch.Tensor,Int32,Int32>>
PatchMerging

Constructors

PatchMerging(Int32, Int32)

Initializes a new instance of the PatchMerging class.

Methods

forward(torch+Tensor, Int32, Int32) TorchSharp.torch.nn.Module`4.forward(TorchSharp.torch.Tensor,System.Int32,System.Int32)

Applies to