@Namespace(value="c10") @NoOffset @Properties(inherit=torch.class) public class OperatorHandle extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
OperatorHandle(OperatorHandle arg0) |
OperatorHandle(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
callBoxed(IValueVector stack) |
void |
callBoxedForDispatchKey(short dk,
IValueVector stack) |
void |
callBoxedForDispatchKey(torch.DispatchKey dk,
IValueVector stack) |
void |
checkInvariants() |
BytePointer |
debug() |
BytePointer |
dumpComputedTable() |
BytePointer |
dumpState() |
boolean |
equals(OperatorHandle other) |
TagArrayRef |
getTags() |
boolean |
hasComputedKernelForDispatchKey(short k) |
boolean |
hasComputedKernelForDispatchKey(torch.DispatchKey k) |
boolean |
hasKernelForAnyDispatchKey(DispatchKeySet k) |
boolean |
hasKernelForDispatchKey(short k) |
boolean |
hasKernelForDispatchKey(torch.DispatchKey k) |
boolean |
hasSchema() |
boolean |
hasTag(int tag) |
boolean |
hasTag(torch.Tag tag) |
boolean |
notEquals(OperatorHandle other) |
OperatorName |
operator_name() |
OperatorHandle |
put(OperatorHandle arg0) |
void |
redispatchBoxed(DispatchKeySet ks,
IValueVector stack) |
FunctionSchema |
schema() |
void |
setReportErrorCallback_(SafePyObject callback) |
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 OperatorHandle(Pointer p)
Pointer(Pointer)
.public OperatorHandle(@ByRef(value=true) OperatorHandle arg0)
@ByRef @Name(value="operator =") @NoException(value=true) public OperatorHandle put(@ByRef(value=true) OperatorHandle arg0)
@Const @ByRef public OperatorName operator_name()
@Const @ByRef public FunctionSchema schema()
@StdString public BytePointer debug()
@StdString public BytePointer dumpState()
@Cast(value="bool") public boolean hasKernelForDispatchKey(torch.DispatchKey k)
@Cast(value="bool") public boolean hasKernelForDispatchKey(@Cast(value="c10::DispatchKey") short k)
@Cast(value="bool") public boolean hasKernelForAnyDispatchKey(@ByVal DispatchKeySet k)
@Cast(value="bool") public boolean hasComputedKernelForDispatchKey(torch.DispatchKey k)
@Cast(value="bool") public boolean hasComputedKernelForDispatchKey(@Cast(value="c10::DispatchKey") short k)
@StdString public BytePointer dumpComputedTable()
public void checkInvariants()
@ByVal public TagArrayRef getTags()
public void setReportErrorCallback_(@UniquePtr @ByVal SafePyObject callback)
public void callBoxed(@Cast(value="c10::Stack*") IValueVector stack)
public void callBoxedForDispatchKey(torch.DispatchKey dk, @Cast(value="c10::Stack*") @ByRef IValueVector stack)
public void callBoxedForDispatchKey(@Cast(value="c10::DispatchKey") short dk, @Cast(value="c10::Stack*") @ByRef IValueVector stack)
public void redispatchBoxed(@ByVal DispatchKeySet ks, @Cast(value="c10::Stack*") IValueVector stack)
@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef OperatorHandle other)
Copyright © 2024. All rights reserved.