共用方式為


AutoFormerV2Block 類別

定義

AutoFormer 網路的區塊模組。

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

建構函式

AutoFormerV2Block(Int32, Int32, Int32, Int32, Double, Double, Int32, Boolean, Boolean)

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

方法

forward(torch+Tensor, Int32, Int32, torch+Tensor)

AutoFormer 網路的區塊模組。

適用於