@Namespace(value="nvinfer1::apiv") @Properties(inherit=nvinfer.class) public class VConstantLayer extends VRoot
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
VConstantLayer(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Dims32 |
getDimensions() |
Weights |
getWeights() |
void |
setDimensions(Dims32 dimensions) |
void |
setWeights(Weights weights) |
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 VConstantLayer(Pointer p)
Pointer(Pointer)
.@NoException(value=true) public void setWeights(@ByVal Weights weights)
@ByVal @NoException(value=true) public Weights getWeights()
@NoException(value=true) public void setDimensions(@ByVal @Cast(value="nvinfer1::Dims*") Dims32 dimensions)
Copyright © 2024. All rights reserved.