Share via


PatchMerging.forward(torch+Tensor, Int32, Int32) Method

Definition

TorchSharp.torch.nn.Module`4.forward(TorchSharp.torch.Tensor,System.Int32,System.Int32)
public override (TorchSharp.torch.Tensor, int, int) forward (TorchSharp.torch.Tensor x, int h, int w);
override this.forward : TorchSharp.torch.Tensor * int * int -> ValueTuple<TorchSharp.torch.Tensor, int, int>
Public Overrides Function forward (x As torch.Tensor, h As Integer, w As Integer) As ValueTuple(Of torch.Tensor, Integer, Integer)

Parameters

x
TorchSharp.torch.Tensor
h
Int32
w
Int32

Returns

ValueTuple<TorchSharp.torch.Tensor,Int32,Int32>

Applies to