@Namespace(value="nvinfer1") @NoOffset @Properties(inherit=nvinfer.class) public class IReduceLayer extends ILayer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
IReduceLayer(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getKeepDimensions()
\brief Get the boolean that specifies whether or not to keep the reduced dimensions for the layer.
|
nvinfer.ReduceOperation |
getOperation()
\brief Get the reduce operation for the layer.
|
int |
getReduceAxes()
\brief Get the axes over which to reduce for the layer.
|
void |
setKeepDimensions(boolean keepDimensions)
\brief Set the boolean that specifies whether or not to keep the reduced dimensions for the layer.
|
void |
setOperation(int op) |
void |
setOperation(nvinfer.ReduceOperation op)
\brief Set the reduce operation for the layer.
|
void |
setReduceAxes(int reduceAxes)
\brief Set the axes over which to reduce.
|
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 IReduceLayer(Pointer p)
Pointer(Pointer)
.@NoException(value=true) public void setOperation(nvinfer.ReduceOperation op)
getOperation(), ReduceOperation
@NoException(value=true) public void setOperation(@Cast(value="nvinfer1::ReduceOperation") int op)
@NoException(value=true) public nvinfer.ReduceOperation getOperation()
setOperation(), ReduceOperation
@NoException(value=true) public void setReduceAxes(@Cast(value="uint32_t") int reduceAxes)
getReduceAxes
@Cast(value="uint32_t") @NoException(value=true) public int getReduceAxes()
setReduceAxes
@NoException(value=true) public void setKeepDimensions(@Cast(value="bool") boolean keepDimensions)
getKeepDimensions
@Cast(value="bool") @NoException(value=true) public boolean getKeepDimensions()
setKeepDimensions
Copyright © 2024. All rights reserved.