@Namespace(value="nvinfer1::apiv") @Properties(inherit=nvinfer.class) public class VLayer extends VRoot
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
VLayer(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ITensor |
getInput(int index) |
String |
getMetadata() |
String |
getName() |
int |
getNbInputs() |
int |
getNbOutputs() |
ITensor |
getOutput(int index) |
nvinfer.DataType |
getOutputType(int index) |
nvinfer.DataType |
getPrecision() |
nvinfer.LayerType |
getType() |
boolean |
outputTypeIsSet(int index) |
boolean |
precisionIsSet() |
void |
resetOutputType(int index) |
void |
resetPrecision() |
void |
setInput(int index,
ITensor tensor) |
void |
setMetadata(BytePointer docString) |
void |
setMetadata(String docString) |
void |
setName(BytePointer name) |
void |
setName(String name) |
void |
setOutputType(int index,
int dataType) |
void |
setOutputType(int index,
nvinfer.DataType dataType) |
void |
setPrecision(int dataType) |
void |
setPrecision(nvinfer.DataType dataType) |
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 VLayer(Pointer p)
Pointer(Pointer).@NoException(value=true) public nvinfer.LayerType getType()
@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 int getNbInputs()
@NoException(value=true) public ITensor getInput(int index)
@NoException(value=true) public int getNbOutputs()
@NoException(value=true) public ITensor getOutput(int index)
@NoException(value=true) public void setInput(int index, @ByRef ITensor tensor)
@NoException(value=true) public void setPrecision(nvinfer.DataType dataType)
@NoException(value=true) public void setPrecision(@Cast(value="nvinfer1::DataType") int dataType)
@NoException(value=true) public nvinfer.DataType getPrecision()
@Cast(value="bool") @NoException(value=true) public boolean precisionIsSet()
@NoException(value=true) public void resetPrecision()
@NoException(value=true) public void setOutputType(int index, nvinfer.DataType dataType)
@NoException(value=true) public void setOutputType(int index, @Cast(value="nvinfer1::DataType") int dataType)
@NoException(value=true) public nvinfer.DataType getOutputType(int index)
@Cast(value="bool") @NoException(value=true) public boolean outputTypeIsSet(int index)
@NoException(value=true) public void resetOutputType(int index)
@NoException(value=true) public void setMetadata(String docString)
@NoException(value=true) public void setMetadata(@Cast(value="const char*") BytePointer docString)
@NoException(value=true) public String getMetadata()
Copyright © 2024. All rights reserved.