AutoFormerV2Block Classe
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
O módulo de bloco da rede do 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)
- Herança
Construtores
AutoFormerV2Block(Int32, Int32, Int32, Int32, Double, Double, Int32, Boolean, Boolean) |
Inicializa uma nova instância da classe AutoFormerV2Block. |
Métodos
forward(torch+Tensor, Int32, Int32, torch+Tensor) |
O módulo de bloco da rede do AutoFormer. |