AutoFormerV2Block.forward(torch+Tensor, Int32, Int32, torch+Tensor) Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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
Parámetros
- x
- TorchSharp.torch.Tensor
- h
- Int32
- w
- Int32
- maskMatrix
- TorchSharp.torch.Tensor
Devoluciones
TorchSharp.torch.Tensor