語言

AutoFormerV2 類別

定義

該物件偵測網路基於僅在 MS COCO 資料集中預訓練的 AutoFormerV2 骨幹網。 網路包含三種不同參數的縮放:小為 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

建構函式

名稱 Description
AutoFormerV2(Int32, List<Int32>, List<Int32>, List<Int32>, torch+Device)

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

方法

名稱 Description
Dispose(Boolean)

該物件偵測網路基於僅在 MS COCO 資料集中預訓練的 AutoFormerV2 骨幹網。 網路包含三種不同參數的縮放:小為 11MB,中為 21MB,大為 41MB。

forward(torch+Tensor)

該物件偵測網路基於僅在 MS COCO 資料集中預訓練的 AutoFormerV2 骨幹網。 網路包含三種不同參數的縮放:小為 11MB,中為 21MB,大為 41MB。

FreezeBN()

凍結網路中 BatchNorm2d 的權重。

適用於