CombinedNonMaxSuppression.Options

public static class CombinedNonMaxSuppression.Options

Optional attributes for CombinedNonMaxSuppression

Public Methods

Inherited Methods

boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

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.