PatchMerging 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
PatchMerging 层。
public class PatchMerging : TorchSharp.torch.nn.Module<TorchSharp.torch.Tensor,int,int,(TorchSharp.torch.Tensor, int, int)>
type PatchMerging = class
inherit torch.nn.Module<torch.Tensor, int, int, ValueTuple<torch.Tensor, int, int>>
Public Class PatchMerging
Inherits torch.nn.Module(Of torch.Tensor, Integer, Integer, ValueTuple(Of torch.Tensor, Integer, Integer))
- 继承
-
torch.nn.Module<TorchSharp.torch.Tensor,Int32,Int32,ValueTuple<TorchSharp.torch.Tensor,Int32,Int32>>PatchMerging
构造函数
PatchMerging(Int32, Int32) |
初始化 PatchMerging 类的新实例。 |
方法
forward(torch+Tensor, Int32, Int32) |
PatchMerging 层。 |