CombinedNonMaxSuppression.Options

public static class CombinedNonMaxSuppression.Options

Optional attributes for CombinedNonMaxSuppression

Public Methods

CombinedNonMaxSuppression.Options
clipBoxes(Boolean clipBoxes)
CombinedNonMaxSuppression.Options
padPerClass(Boolean padPerClass)

Inherited Methods

Public Methods

public CombinedNonMaxSuppression.Options clipBoxes (Boolean clipBoxes)

Parameters
clipBoxes If true, assume the box coordinates are between [0, 1] and clip the output boxes if they fall beyond [0, 1]. If false, do not do clipping and output the box coordinates as it is.

public CombinedNonMaxSuppression.Options padPerClass (Boolean padPerClass)

Parameters
padPerClass If false, the output nmsed boxes, scores and classes are padded/clipped to `max_total_size`. If true, the output nmsed boxes, scores and classes are padded to be of length `max_size_per_class`*`num_classes`, unless it exceeds `max_total_size` in which case it is clipped to `max_total_size`. Defaults to false.