@Namespace(value="c10") @Properties(inherit=torch.class) public class WarningHandler extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
WarningHandler()
Default native constructor.
|
WarningHandler(long size)
Native array allocator.
|
WarningHandler(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
WarningHandler |
getPointer(long i) |
WarningHandler |
position(long position) |
void |
process(Warning warning)
The default warning handler.
|
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 WarningHandler()
public WarningHandler(long size)
Pointer.position(long)
.public WarningHandler(Pointer p)
Pointer(Pointer)
.public WarningHandler position(long position)
public WarningHandler getPointer(long i)
getPointer
in class Pointer
Copyright © 2024. All rights reserved.