@Namespace(value="nvinfer1") @NoOffset @Properties(inherit=nvinfer.class) public class IFillLayer extends ILayer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
IFillLayer(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getAlpha()
\brief Get the value of alpha parameter.
|
double |
getBeta()
\brief Get the value of beta parameter.
|
Dims32 |
getDimensions()
\brief Get the output tensor's dimensions.
|
nvinfer.FillOperation |
getOperation()
\brief Get the fill operation for the layer.
|
void |
setAlpha(double alpha)
\brief Set the alpha parameter.
|
void |
setBeta(double beta)
\brief Set the beta parameter.
|
void |
setDimensions(Dims32 dimensions)
\brief Set the output tensor's dimensions.
|
void |
setOperation(int op) |
void |
setOperation(nvinfer.FillOperation op)
\brief Set the fill operation for the layer.
|
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 IFillLayer(Pointer p)
Pointer(Pointer)
.@NoException(value=true) public void setDimensions(@ByVal @Cast(value="nvinfer1::Dims*") Dims32 dimensions)
dimensions
- The output tensor's dimensions.
If the first input had been used to create this layer, that input is reset to null by this method.getDimensions
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getDimensions()
setDimensions
@NoException(value=true) public void setOperation(nvinfer.FillOperation op)
getOperation(), FillOperation
@NoException(value=true) public void setOperation(@Cast(value="nvinfer1::FillOperation") int op)
@NoException(value=true) public nvinfer.FillOperation getOperation()
setOperation(), FillOperation
@NoException(value=true) public void setAlpha(double alpha)
alpha
- has different meanings for each operator:
Operation | Usage
kLINSPACE | the start value, defaults to 0.0;
kRANDOM_UNIFORM | the minimum value, defaults to 0.0;
kRANDOM_NORMAL | the mean of the normal distribution, default is 0.0;
If a second input had been used to create this layer, that input is reset to null by this method.getAlpha
@NoException(value=true) public double getAlpha()
setAlpha
@NoException(value=true) public void setBeta(double beta)
beta
- has different meanings for each operator:
Operation | Usage
kLINSPACE | the delta value, defaults to 1.0;
kRANDOM_UNIFORM | the maximal value, defaults to 1.0;
kRANDOM_NORMAL | the standard deviation of the normal distribution, default is 1.0;
If a third input had been used to create this layer, that input is reset to null by this method.getBeta
@NoException(value=true) public double getBeta()
setBeta
Copyright © 2024. All rights reserved.