public static class CombinedNonMaxSuppression.Attrs extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Attrs()
Default native constructor.
|
Attrs(long size)
Native array allocator.
|
Attrs(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
clip_boxes_() |
CombinedNonMaxSuppression.Attrs |
clip_boxes_(boolean setter) |
CombinedNonMaxSuppression.Attrs |
ClipBoxes(boolean x)
If true, assume the box coordinates are between [0, 1] and clip the output boxes
if they fall beyond [0, 1].
|
CombinedNonMaxSuppression.Attrs |
getPointer(long i) |
boolean |
pad_per_class_() |
CombinedNonMaxSuppression.Attrs |
pad_per_class_(boolean setter) |
CombinedNonMaxSuppression.Attrs |
PadPerClass(boolean x)
If false, the output nmsed boxes, scores and classes
are padded/clipped to
max_total_size . |
CombinedNonMaxSuppression.Attrs |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Attrs()
public Attrs(long size)
Pointer.position(long)
.public Attrs(Pointer p)
Pointer(Pointer)
.public CombinedNonMaxSuppression.Attrs position(long position)
public CombinedNonMaxSuppression.Attrs getPointer(long i)
getPointer
in class Pointer
@ByVal public CombinedNonMaxSuppression.Attrs PadPerClass(@Cast(value="bool") boolean x)
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.
Defaults to false@ByVal public CombinedNonMaxSuppression.Attrs ClipBoxes(@Cast(value="bool") boolean x)
public CombinedNonMaxSuppression.Attrs pad_per_class_(boolean setter)
public CombinedNonMaxSuppression.Attrs clip_boxes_(boolean setter)
Copyright © 2022. All rights reserved.