PatchMerging.forward(torch+Tensor, Int32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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)
参数
- x
- TorchSharp.torch.Tensor
- h
- Int32
- w
- Int32