@Namespace(value="nvinfer1::apiv") @Properties(inherit=nvinfer.class) public class VTopKLayer extends VRoot
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
VTopKLayer(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getK() |
nvinfer.TopKOperation |
getOperation() |
int |
getReduceAxes() |
void |
setK(int k) |
void |
setOperation(int op) |
void |
setOperation(nvinfer.TopKOperation op) |
void |
setReduceAxes(int reduceAxes) |
getPointer, 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 VTopKLayer(Pointer p)
Pointer(Pointer)
.@NoException(value=true) public void setOperation(nvinfer.TopKOperation op)
@NoException(value=true) public void setOperation(@Cast(value="nvinfer1::TopKOperation") int op)
@NoException(value=true) public nvinfer.TopKOperation getOperation()
@NoException(value=true) public void setK(int k)
@NoException(value=true) public int getK()
@NoException(value=true) public void setReduceAxes(@Cast(value="uint32_t") int reduceAxes)
@Cast(value="uint32_t") @NoException(value=true) public int getReduceAxes()
Copyright © 2024. All rights reserved.