AutoFormerV2Block.forward(torch+Tensor, Int32, Int32, torch+Tensor) Metoda
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.
TorchSharp.torch.nn.Module`5.forward(TorchSharp.torch.Tensor,System.Int32,System.Int32,TorchSharp.torch.Tensor)
public override TorchSharp.torch.Tensor forward(TorchSharp.torch.Tensor x, int h, int w, TorchSharp.torch.Tensor maskMatrix);
override this.forward : TorchSharp.torch.Tensor * int * int * TorchSharp.torch.Tensor -> TorchSharp.torch.Tensor
Public Overrides Function forward (x As torch.Tensor, h As Integer, w As Integer, maskMatrix As torch.Tensor) As torch.Tensor
Parametry
- x
- TorchSharp.torch.Tensor
- h
- Int32
- w
- Int32
- maskMatrix
- TorchSharp.torch.Tensor
Zwraca
TorchSharp.torch.Tensor