@Namespace(value="nvinfer1::apiv") @Properties(inherit=nvinfer.class) public class VTensor extends VRoot
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
VTensor(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
dynamicRangeIsSet() |
int |
getAllowedFormats() |
boolean |
getBroadcastAcrossBatch() |
String |
getDimensionName(int index) |
Dims32 |
getDimensions() |
float |
getDynamicRangeMax() |
float |
getDynamicRangeMin() |
nvinfer.TensorLocation |
getLocation() |
String |
getName() |
nvinfer.DataType |
getType() |
boolean |
isExecutionTensor() |
boolean |
isNetworkInput() |
boolean |
isNetworkOutput() |
boolean |
isShapeTensor() |
void |
resetDynamicRange() |
void |
setAllowedFormats(int formats) |
void |
setBroadcastAcrossBatch(boolean broadcastAcrossBatch) |
void |
setDimensionName(int index,
BytePointer name) |
void |
setDimensionName(int index,
String name) |
void |
setDimensions(Dims32 dimensions) |
boolean |
setDynamicRange(float min,
float max) |
void |
setLocation(int location) |
void |
setLocation(nvinfer.TensorLocation location) |
void |
setName(BytePointer name) |
void |
setName(String name) |
void |
setType(int type) |
void |
setType(nvinfer.DataType type) |
getPointer, positionaddress, 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, zeropublic VTensor(Pointer p)
Pointer(Pointer).@NoException(value=true) public void setName(String name)
@NoException(value=true) public void setName(@Cast(value="const char*") BytePointer name)
@NoException(value=true) public String getName()
@NoException(value=true) public void setDimensions(@ByVal @Cast(value="nvinfer1::Dims*") Dims32 dimensions)
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getDimensions()
@NoException(value=true) public void setType(nvinfer.DataType type)
@NoException(value=true) public void setType(@Cast(value="nvinfer1::DataType") int type)
@NoException(value=true) public nvinfer.DataType getType()
@Cast(value="bool") @NoException(value=true) public boolean setDynamicRange(float min, float max)
@Cast(value="bool") @NoException(value=true) public boolean isNetworkInput()
@Cast(value="bool") @NoException(value=true) public boolean isNetworkOutput()
@NoException(value=true) public void setBroadcastAcrossBatch(@Cast(value="bool") boolean broadcastAcrossBatch)
@Cast(value="bool") @NoException(value=true) public boolean getBroadcastAcrossBatch()
@NoException(value=true) public nvinfer.TensorLocation getLocation()
@NoException(value=true) public void setLocation(nvinfer.TensorLocation location)
@NoException(value=true) public void setLocation(@Cast(value="nvinfer1::TensorLocation") int location)
@Cast(value="bool") @NoException(value=true) public boolean dynamicRangeIsSet()
@NoException(value=true) public void resetDynamicRange()
@NoException(value=true) public float getDynamicRangeMin()
@NoException(value=true) public float getDynamicRangeMax()
@NoException(value=true) public void setAllowedFormats(@Cast(value="nvinfer1::TensorFormats") int formats)
@Cast(value="nvinfer1::TensorFormats") @NoException(value=true) public int getAllowedFormats()
@Cast(value="bool") @NoException(value=true) public boolean isShapeTensor()
@Cast(value="bool") @NoException(value=true) public boolean isExecutionTensor()
@NoException(value=true) public void setDimensionName(int index, String name)
@NoException(value=true) public void setDimensionName(int index, @Cast(value="const char*") BytePointer name)
@NoException(value=true) public String getDimensionName(int index)
Copyright © 2024. All rights reserved.