@Namespace(value="nvinfer1::apiv") @Properties(inherit=nvinfer.class) public class VActivationLayer extends VRoot
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
VActivationLayer(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
nvinfer.ActivationType |
getActivationType() |
float |
getAlpha() |
float |
getBeta() |
void |
setActivationType(int type) |
void |
setActivationType(nvinfer.ActivationType type) |
void |
setAlpha(float alpha) |
void |
setBeta(float beta) |
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 VActivationLayer(Pointer p)
Pointer(Pointer)
.@NoException(value=true) public void setActivationType(nvinfer.ActivationType type)
@NoException(value=true) public void setActivationType(@Cast(value="nvinfer1::ActivationType") int type)
@NoException(value=true) public nvinfer.ActivationType getActivationType()
@NoException(value=true) public void setAlpha(float alpha)
@NoException(value=true) public void setBeta(float beta)
@NoException(value=true) public float getAlpha()
@NoException(value=true) public float getBeta()
Copyright © 2024. All rights reserved.