Anchors 类

定义

定位框是一组具有特定高度和宽度的预定义边界框,其位置和大小可以通过模型的回归头进行调整。

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

构造函数

Anchors(Int32[], Int32[], Int32[], Double[], Double[])

初始化 Anchors 类的新实例。

方法

forward(torch+Tensor)

为图像生成定位点。

适用于