public static class CombinedNonMaxSuppression.Options extends Object
CombinedNonMaxSuppression| Modifier and Type | Method and Description |
|---|---|
CombinedNonMaxSuppression.Options |
clipBoxes(Boolean clipBoxes) |
CombinedNonMaxSuppression.Options |
padPerClass(Boolean padPerClass) |
public CombinedNonMaxSuppression.Options padPerClass(Boolean padPerClass)
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.public CombinedNonMaxSuppression.Options clipBoxes(Boolean clipBoxes)
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.Copyright © 2015–2019. All rights reserved.