@Namespace(value="nvinfer1") @NoOffset @Properties(inherit=nvinfer.class) public class INonZeroLayer extends ILayer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
INonZeroLayer(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
nvinfer.DataType |
getIndicesType()
\brief Return the NonZero layer indices type.
|
boolean |
setIndicesType(int type) |
boolean |
setIndicesType(nvinfer.DataType type)
\brief Set the indices type for the layer.
|
getInput, getMetadata, getName, getNbInputs, getNbOutputs, getOutput, getOutputType, getPrecision, getType, outputTypeIsSet, precisionIsSet, resetOutputType, resetPrecision, setInput, setMetadata, setMetadata, setName, setName, setOutputType, setOutputType, setPrecision, setPrecisionaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, trimMemory, withDeallocator, zeropublic INonZeroLayer(Pointer p)
Pointer(Pointer).@Cast(value="bool") @NoException(value=true) public boolean setIndicesType(nvinfer.DataType type)
type - The DataType of the indices tensor.@Cast(value="bool") @NoException(value=true) public boolean setIndicesType(@Cast(value="nvinfer1::DataType") int type)
@NoException(value=true) public nvinfer.DataType getIndicesType()
Copyright © 2026. All rights reserved.