@Namespace(value="nvinfer1") @NoOffset @Properties(inherit=nvinfer.class) public class ICastLayer extends ILayer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ICastLayer(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
nvinfer.DataType |
getToType()
\brief Return cast layer output type.
|
void |
setToType(int toType) |
void |
setToType(nvinfer.DataType toType)
\brief Set cast layer output type.
|
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 ICastLayer(Pointer p)
Pointer(Pointer)
.@NoException(value=true) public void setToType(nvinfer.DataType toType)
@NoException(value=true) public void setToType(@Cast(value="nvinfer1::DataType") int toType)
@NoException(value=true) public nvinfer.DataType getToType()
Copyright © 2024. All rights reserved.