@Namespace(value="c10") @NoOffset @Properties(inherit=torch.class) public class DispatchKeyExtractor extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DispatchKeyExtractor(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
checkInvariants(FunctionSchema schema) |
void |
deregisterSchema() |
BytePointer |
dumpState() |
DispatchKeySet |
getDispatchKeySetBoxed(IValueVector stack) |
static DispatchKeyExtractor |
make(FunctionSchema schema) |
static DispatchKeyExtractor |
makeUninitialized() |
void |
registerSchema(FunctionSchema schema) |
void |
setOperatorHasFallthroughForKey(short k,
boolean has_fallthrough) |
void |
setOperatorHasFallthroughForKey(torch.DispatchKey k,
boolean has_fallthrough) |
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 DispatchKeyExtractor(Pointer p)
Pointer(Pointer)
.@ByVal public static DispatchKeyExtractor make(@Const @ByRef FunctionSchema schema)
@ByVal public static DispatchKeyExtractor makeUninitialized()
public void registerSchema(@Const @ByRef FunctionSchema schema)
public void deregisterSchema()
@ByVal public DispatchKeySet getDispatchKeySetBoxed(@Const IValueVector stack)
public void setOperatorHasFallthroughForKey(torch.DispatchKey k, @Cast(value="bool") boolean has_fallthrough)
public void setOperatorHasFallthroughForKey(@Cast(value="c10::DispatchKey") short k, @Cast(value="bool") boolean has_fallthrough)
@StdString public BytePointer dumpState()
public void checkInvariants(@Const @ByRef FunctionSchema schema)
Copyright © 2024. All rights reserved.