@Namespace(value="torch::autograd") @Properties(inherit=torch.class) public class AnomalyMode extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
AnomalyMode()
Default native constructor.
|
AnomalyMode(long size)
Native array allocator.
|
AnomalyMode(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
AnomalyMode |
getPointer(long i) |
static boolean |
is_enabled() |
AnomalyMode |
position(long position) |
static void |
set_enabled(boolean enabled) |
static void |
set_enabled(boolean enabled,
boolean check_nan) |
static boolean |
should_check_nan() |
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 AnomalyMode()
public AnomalyMode(long size)
Pointer.position(long)
.public AnomalyMode(Pointer p)
Pointer(Pointer)
.public AnomalyMode position(long position)
public AnomalyMode getPointer(long i)
getPointer
in class Pointer
public static void set_enabled(@Cast(value="bool") boolean enabled, @Cast(value="bool") boolean check_nan)
Copyright © 2024. All rights reserved.