共用方式為


AutoFormerV2 類別

定義

以 AutoFormerV2 骨幹為基礎的物件偵測網路,此骨幹僅在 MS COCO 數據集中預先定型。 網路包含 3 個縮放比例,具有不同的參數:小型為 11MB、中型為 21MB,大型為 41MB。

public class AutoFormerV2 : TorchSharp.torch.nn.Module<TorchSharp.torch.Tensor,(TorchSharp.torch.Tensor, TorchSharp.torch.Tensor, TorchSharp.torch.Tensor)>
type AutoFormerV2 = class
    inherit torch.nn.Module<torch.Tensor, ValueTuple<torch.Tensor, torch.Tensor, torch.Tensor>>
Public Class AutoFormerV2
Inherits torch.nn.Module(Of torch.Tensor, ValueTuple(Of torch.Tensor, torch.Tensor, torch.Tensor))
繼承
torch.nn.Module<TorchSharp.torch.Tensor,ValueTuple<TorchSharp.torch.Tensor,TorchSharp.torch.Tensor,TorchSharp.torch.Tensor>>
AutoFormerV2

建構函式

AutoFormerV2(Int32, List<Int32>, List<Int32>, List<Int32>, torch+Device)

初始化 AutoFormerV2 類別的新執行個體。

方法

Dispose(Boolean)

以 AutoFormerV2 骨幹為基礎的物件偵測網路,此骨幹僅在 MS COCO 數據集中預先定型。 網路包含 3 個縮放比例,具有不同的參數:小型為 11MB、中型為 21MB,大型為 41MB。

forward(torch+Tensor)

以 AutoFormerV2 骨幹為基礎的物件偵測網路,此骨幹僅在 MS COCO 數據集中預先定型。 網路包含 3 個縮放比例,具有不同的參數:小型為 11MB、中型為 21MB,大型為 41MB。

FreezeBN()

凍結網路中 BatchNorm2d 的權數。

適用於