@Namespace(value="nvinfer1") @NoOffset @Properties(inherit=nvinfer.class) public class ICumulativeLayer extends ILayer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ICumulativeLayer(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getExclusive()
\brief Get whether it is exclusive accumulation or inclusive accumulation.
|
nvinfer.CumulativeOperation |
getOperation()
\brief Get the cumulative operation for the layer.
|
boolean |
getReverse()
\brief Get the boolean that specifies whether the cumulative operation should be applied backward.
|
void |
setExclusive(boolean exclusive)
\brief Set whether it is an exclusive accumulation or inclusive accumulation.
|
boolean |
setOperation(int op) |
boolean |
setOperation(nvinfer.CumulativeOperation op)
\brief Set the cumulative operation for the layer.
|
void |
setReverse(boolean reverse)
\brief Specify whether the cumulative operation should be applied backward.
|
getInput, getMetadata, getName, getNbInputs, getNbOutputs, getOutput, getOutputType, getPrecision, getType, outputTypeIsSet, precisionIsSet, resetOutputType, resetPrecision, setInput, setMetadata, setMetadata, setName, setName, setOutputType, setOutputType, setPrecision, setPrecision
address, 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, withDeallocator, zero
public ICumulativeLayer(Pointer p)
Pointer(Pointer)
.@Cast(value="bool") @NoException(value=true) public boolean setOperation(nvinfer.CumulativeOperation op)
op
- The reduction operation to be performedgetOperation(), CumulativeOperation
@Cast(value="bool") @NoException(value=true) public boolean setOperation(@Cast(value="nvinfer1::CumulativeOperation") int op)
@NoException(value=true) public nvinfer.CumulativeOperation getOperation()
setOperation(), CumulativeOperation
@NoException(value=true) public void setExclusive(@Cast(value="bool") boolean exclusive)
exclusive
- Whether the operation will exclude the element at the current indexgetExclusive
@Cast(value="bool") @NoException(value=true) public boolean getExclusive()
setExclusive
@NoException(value=true) public void setReverse(@Cast(value="bool") boolean reverse)
reverse
- Whether the cumulative will run in the reverse direction from the last elementgetReverse
@Cast(value="bool") @NoException(value=true) public boolean getReverse()
setReverse
Copyright © 2025. All rights reserved.