Partager via


AutoFormerV2Block Classe

Définition

Module de bloc du réseau 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)
Héritage
torch.nn.Module<TorchSharp.torch.Tensor,Int32,Int32,TorchSharp.torch.Tensor,TorchSharp.torch.Tensor>
AutoFormerV2Block

Constructeurs

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

Initialise une nouvelle instance de la classe AutoFormerV2Block.

Méthodes

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

Module de bloc du réseau AutoFormer.

S’applique à