@Namespace(value="c10") @NoOffset @Properties(inherit=torch.class) public class DispatchKeySet extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
DispatchKeySet.Full |
static class |
DispatchKeySet.FullAfter |
static class |
DispatchKeySet.iterator |
static class |
DispatchKeySet.Raw |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DispatchKeySet() |
DispatchKeySet(byte k) |
DispatchKeySet(DispatchKeySet.Full arg0) |
DispatchKeySet(DispatchKeySet.FullAfter arg0,
torch.DispatchKey t) |
DispatchKeySet(DispatchKeySet.Raw arg0,
long x) |
DispatchKeySet(int arg0) |
DispatchKeySet(int arg0,
long x) |
DispatchKeySet(int arg0,
short t) |
DispatchKeySet(long size)
Native array allocator.
|
DispatchKeySet(Pointer p)
Pointer cast constructor.
|
DispatchKeySet(short k) |
DispatchKeySet(torch.BackendComponent k) |
DispatchKeySet(torch.DispatchKey k) |
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 DispatchKeySet(Pointer p)
Pointer(Pointer)
.public DispatchKeySet(long size)
Pointer.position(long)
.public DispatchKeySet()
public DispatchKeySet(DispatchKeySet.Full arg0)
public DispatchKeySet(DispatchKeySet.FullAfter arg0, torch.DispatchKey t)
public DispatchKeySet(@Cast(value="c10::DispatchKeySet::FullAfter") int arg0, @Cast(value="c10::DispatchKey") short t)
public DispatchKeySet(DispatchKeySet.Raw arg0, @Cast(value="uint64_t") long x)
public DispatchKeySet(@Cast(value="c10::DispatchKeySet::Raw") int arg0, @Cast(value="uint64_t") long x)
public DispatchKeySet(torch.BackendComponent k)
public DispatchKeySet(torch.DispatchKey k)
public DispatchKeySet position(long position)
public DispatchKeySet getPointer(long i)
getPointer
in class Pointer
@Cast(value="bool") public boolean has(torch.DispatchKey t)
@Cast(value="const bool") public boolean has_backend(torch.BackendComponent t)
@Cast(value="const bool") public boolean has_backend(@Cast(value="c10::BackendComponent") byte t)
@Cast(value="const bool") public boolean has_all(@ByVal DispatchKeySet ks)
@Cast(value="bool") public boolean has_any(@ByVal DispatchKeySet ks)
@Cast(value="bool") public boolean isSupersetOf(@ByVal DispatchKeySet ks)
@Const @ByVal @Name(value="operator |") public DispatchKeySet or(@ByVal DispatchKeySet other)
@Const @ByVal @Name(value="operator &") public DispatchKeySet and(@ByVal DispatchKeySet other)
@Const @ByVal @Name(value="operator -") public DispatchKeySet subtract(@ByVal DispatchKeySet other)
@Const @ByVal @Name(value="operator ^") public DispatchKeySet xor(@ByVal DispatchKeySet other)
@Cast(value="bool") @Name(value="operator ==") public boolean equals(@ByVal DispatchKeySet other)
@Cast(value="bool") @Name(value="operator !=") public boolean notEquals(@ByVal DispatchKeySet other)
@Const @ByVal public DispatchKeySet add(torch.DispatchKey t)
@Const @ByVal public DispatchKeySet add(@Cast(value="c10::DispatchKey") short t)
@Const @ByVal public DispatchKeySet add(@ByVal DispatchKeySet ks)
@Const @ByVal public DispatchKeySet remove(torch.DispatchKey t)
@Const @ByVal public DispatchKeySet remove(@Cast(value="c10::DispatchKey") short t)
@Const @ByVal public DispatchKeySet remove_backend(torch.BackendComponent b)
@Const @ByVal public DispatchKeySet remove_backend(@Cast(value="c10::BackendComponent") byte b)
public torch.DispatchKey highestFunctionalityKey()
public torch.BackendComponent highestBackendKey()
public torch.DispatchKey highestPriorityTypeId()
public int getDispatchTableIndexForDispatchKeySet()
@ByVal public DispatchKeySet.iterator begin()
@ByVal public DispatchKeySet.iterator end()
Copyright © 2024. All rights reserved.