@Namespace(value="nvinfer1") @NoOffset @Properties(inherit=nvinfer.class) public class IActivationLayer extends ILayer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
IActivationLayer(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
nvinfer.ActivationType |
getActivationType()
\brief Get the type of activation to be performed.
|
float |
getAlpha()
\brief Get the alpha parameter.
|
float |
getBeta()
\brief Get the beta parameter.
|
void |
setActivationType(int type) |
void |
setActivationType(nvinfer.ActivationType type)
\brief Set the type of activation to be performed.
|
void |
setAlpha(float alpha)
\brief Set the alpha parameter (must be finite).
|
void |
setBeta(float beta)
\brief Set the beta parameter (must be finite).
|
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 IActivationLayer(Pointer p)
Pointer(Pointer)
.@NoException(value=true) public void setActivationType(nvinfer.ActivationType type)
getActivationType(), ActivationType
@NoException(value=true) public void setActivationType(@Cast(value="nvinfer1::ActivationType") int type)
@NoException(value=true) public nvinfer.ActivationType getActivationType()
setActivationType(), ActivationType
@NoException(value=true) public void setAlpha(float alpha)
getAlpha(), setBeta()
@NoException(value=true) public void setBeta(float beta)
getBeta(), setAlpha()
@NoException(value=true) public float getAlpha()
getBeta(), setAlpha()
@NoException(value=true) public float getBeta()
getAlpha(), setBeta()
Copyright © 2024. All rights reserved.