共用方式為


PatchMerging 類別

定義

PatchMerging 層。

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))
繼承
torch.nn.Module<TorchSharp.torch.Tensor,Int32,Int32,ValueTuple<TorchSharp.torch.Tensor,Int32,Int32>>
PatchMerging

建構函式

PatchMerging(Int32, Int32)

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

方法

Dispose(Boolean)

PatchMerging 層。

forward(torch+Tensor, Int32, Int32)

PatchMerging 層。

適用於