Anchors Class

Definition

Anchor boxes are a set of predefined bounding boxes of a certain height and width, whose location and size can be adjusted by the regression head of model.

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)
Inheritance
torch.nn.Module<TorchSharp.torch.Tensor,TorchSharp.torch.Tensor>
Anchors

Constructors

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

Initializes a new instance of the Anchors class.

Methods

forward(torch+Tensor)

Generate anchors for an image.

Applies to