@Namespace(value="nvinfer1") @NoOffset @Properties(inherit=nvinfer.class) public class IAssertionLayer extends ILayer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
IAssertionLayer(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
\brief Return the assertion message.
|
void |
setMessage(BytePointer message) |
void |
setMessage(String message)
\brief Set the message to print if the assertion fails.
|
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 IAssertionLayer(Pointer p)
Pointer(Pointer)
.@NoException(value=true) public void setMessage(String message)
getMessage()
@NoException(value=true) public void setMessage(@Cast(value="const char*") BytePointer message)
@NoException(value=true) public String getMessage()
setMessage()
Copyright © 2024. All rights reserved.