@Namespace(value="nvinfer1::apiv") @Properties(inherit=nvinfer.class) public class VRNNv2Layer extends VRoot
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
VRNNv2Layer(Pointer p)
Pointer cast constructor.
|
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 VRNNv2Layer(Pointer p)
Pointer(Pointer)
.@NoException(value=true) public int getLayerCount()
@NoException(value=true) public int getHiddenSize()
@NoException(value=true) public int getMaxSeqLength()
@NoException(value=true) public int getDataLength()
@NoException(value=true) public void setSequenceLengths(@ByRef ITensor seqLengths)
@NoException(value=true) public ITensor getSequenceLengths()
@NoException(value=true) public void setOperation(nvinfer.RNNOperation op)
@NoException(value=true) public void setOperation(@Cast(value="nvinfer1::RNNOperation") int op)
@NoException(value=true) public nvinfer.RNNOperation getOperation()
@NoException(value=true) public void setInputMode(nvinfer.RNNInputMode op)
@NoException(value=true) public void setInputMode(@Cast(value="nvinfer1::RNNInputMode") int op)
@NoException(value=true) public nvinfer.RNNInputMode getInputMode()
@NoException(value=true) public void setDirection(nvinfer.RNNDirection op)
@NoException(value=true) public void setDirection(@Cast(value="nvinfer1::RNNDirection") int op)
@NoException(value=true) public nvinfer.RNNDirection getDirection()
@NoException(value=true) public void setWeightsForGate(int layerIndex, nvinfer.RNNGateType gate, @Cast(value="bool") boolean isW, @ByVal Weights weights)
@NoException(value=true) public void setWeightsForGate(int layerIndex, @Cast(value="nvinfer1::RNNGateType") int gate, @Cast(value="bool") boolean isW, @ByVal Weights weights)
@ByVal @NoException(value=true) public Weights getWeightsForGate(int layerIndex, nvinfer.RNNGateType gate, @Cast(value="bool") boolean isW)
@ByVal @NoException(value=true) public Weights getWeightsForGate(int layerIndex, @Cast(value="nvinfer1::RNNGateType") int gate, @Cast(value="bool") boolean isW)
@NoException(value=true) public void setBiasForGate(int layerIndex, nvinfer.RNNGateType gate, @Cast(value="bool") boolean isW, @ByVal Weights bias)
@NoException(value=true) public void setBiasForGate(int layerIndex, @Cast(value="nvinfer1::RNNGateType") int gate, @Cast(value="bool") boolean isW, @ByVal Weights bias)
@ByVal @NoException(value=true) public Weights getBiasForGate(int layerIndex, nvinfer.RNNGateType gate, @Cast(value="bool") boolean isW)
@ByVal @NoException(value=true) public Weights getBiasForGate(int layerIndex, @Cast(value="nvinfer1::RNNGateType") int gate, @Cast(value="bool") boolean isW)
@NoException(value=true) public void setHiddenState(@ByRef ITensor hidden)
@NoException(value=true) public ITensor getHiddenState()
@NoException(value=true) public void setCellState(@ByRef ITensor cell)
@NoException(value=true) public ITensor getCellState()
Copyright © 2024. All rights reserved.