AutoFormerV2Block Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The block module of AutoFormer network.
public class AutoFormerV2Block : TorchSharp.torch.nn.Module<TorchSharp.torch.Tensor,int,int,TorchSharp.torch.Tensor,TorchSharp.torch.Tensor>
type AutoFormerV2Block = class
inherit torch.nn.Module<torch.Tensor, int, int, torch.Tensor, torch.Tensor>
Public Class AutoFormerV2Block
Inherits torch.nn.Module(Of torch.Tensor, Integer, Integer, torch.Tensor, torch.Tensor)
- Inheritance
Constructors
AutoFormerV2Block(Int32, Int32, Int32, Int32, Double, Double, Int32, Boolean, Boolean) |
Initializes a new instance of the AutoFormerV2Block class. |
Methods
forward(torch+Tensor, Int32, Int32, torch+Tensor) | TorchSharp.torch.nn.Module`5.forward(TorchSharp.torch.Tensor,System.Int32,System.Int32,TorchSharp.torch.Tensor) |