AutoFormerV2Block Klasa
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Moduł blokowy sieci autoformatora.
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)
- Dziedziczenie
Konstruktory
AutoFormerV2Block(Int32, Int32, Int32, Int32, Double, Double, Int32, Boolean, Boolean) |
Inicjuje nowe wystąpienie klasy AutoFormerV2Block. |
Metody
forward(torch+Tensor, Int32, Int32, torch+Tensor) |
Moduł blokowy sieci autoformatora. |