@Namespace(value="c10") @NoOffset @Properties(inherit=torch.class) public class Dispatcher extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Dispatcher(Pointer p)
Pointer cast constructor.
|
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 Dispatcher(Pointer p)
Pointer(Pointer)
.@ByRef public static Dispatcher realSingleton()
@ByRef public static Dispatcher singleton()
@ByVal public OperatorHandleOptional findSchema(@Const @ByRef OperatorName operator_name)
@ByVal public OperatorHandle findSchemaOrThrow(@Cast(value="const char*") BytePointer name, @Cast(value="const char*") BytePointer overload_name)
@ByVal public OperatorHandle findSchemaOrThrow(String name, String overload_name)
@ByVal public OperatorHandleOptional findOp(@Const @ByRef OperatorName operator_name)
@StdVector public OperatorName getAllOpNames()
public void callBoxed(@Const @ByRef OperatorHandle op, @Cast(value="c10::Stack*") IValueVector stack)
public void callBoxedForDispatchKey(@Const @ByRef OperatorHandle op, torch.DispatchKey dk, @Cast(value="c10::Stack*") IValueVector stack)
public void callBoxedForDispatchKey(@Const @ByRef OperatorHandle op, @Cast(value="c10::DispatchKey") short dk, @Cast(value="c10::Stack*") IValueVector stack)
public void redispatchBoxed(@Const @ByRef OperatorHandle op, @ByVal DispatchKeySet dispatchKeySet, @Cast(value="c10::Stack*") IValueVector stack)
@Cast(value="bool") public boolean hasBackendFallbackForDispatchKey(torch.DispatchKey dk)
@Cast(value="bool") public boolean hasBackendFallbackForDispatchKey(@Cast(value="c10::DispatchKey") short dk)
public void waitForDef(@Const @ByRef FunctionSchema schema)
public void waitForImpl(@Const @ByRef OperatorName op_name, @ByVal DispatchKeyOptional dispatch_key)
@ByVal public RegistrationHandleRAII registerDef(@ByVal FunctionSchema schema, @StdString BytePointer debug, @StdVector @Cast(value="at::Tag*") IntPointer tags)
@ByVal public RegistrationHandleRAII registerDef(@ByVal FunctionSchema schema, @StdString BytePointer debug)
@ByVal public RegistrationHandleRAII registerDef(@ByVal FunctionSchema schema, @StdString String debug, @StdVector @Cast(value="at::Tag*") IntBuffer tags)
@ByVal public RegistrationHandleRAII registerDef(@ByVal FunctionSchema schema, @StdString String debug)
@ByVal public RegistrationHandleRAII registerDef(@ByVal FunctionSchema schema, @StdString BytePointer debug, @StdVector @Cast(value="at::Tag*") int[] tags)
@ByVal public RegistrationHandleRAII registerDef(@ByVal FunctionSchema schema, @StdString String debug, @StdVector @Cast(value="at::Tag*") IntPointer tags)
@ByVal public RegistrationHandleRAII registerDef(@ByVal FunctionSchema schema, @StdString BytePointer debug, @StdVector @Cast(value="at::Tag*") IntBuffer tags)
@ByVal public RegistrationHandleRAII registerDef(@ByVal FunctionSchema schema, @StdString String debug, @StdVector @Cast(value="at::Tag*") int[] tags)
@ByVal public RegistrationHandleRAII registerImpl(@ByVal OperatorName op_name, @ByVal DispatchKeyOptional dispatch_key, @ByVal KernelFunction kernel, @ByVal CppSignatureOptional cpp_signature, @UniquePtr @ByVal FunctionSchema inferred_function_schema, @StdString BytePointer debug)
@ByVal public RegistrationHandleRAII registerImpl(@ByVal OperatorName op_name, @ByVal DispatchKeyOptional dispatch_key, @ByVal KernelFunction kernel, @ByVal CppSignatureOptional cpp_signature, @UniquePtr @ByVal FunctionSchema inferred_function_schema, @StdString String debug)
@ByVal public RegistrationHandleRAII registerName(@ByVal OperatorName op_name)
@ByVal public RegistrationHandleRAII registerFallback(torch.DispatchKey dispatch_key, @ByVal KernelFunction kernel, @StdString BytePointer debug)
@ByVal public RegistrationHandleRAII registerFallback(@Cast(value="c10::DispatchKey") short dispatch_key, @ByVal KernelFunction kernel, @StdString String debug)
@ByVal public RegistrationHandleRAII registerLibrary(@StdString BytePointer ns, @StdString BytePointer debug)
@ByVal public RegistrationHandleRAII registerLibrary(@StdString String ns, @StdString String debug)
@ByVal public RegistrationHandleRAII addRegistrationListener(@UniquePtr OpRegistrationListener listener)
public void checkInvariants()
@StdVector public OperatorHandle findDanglingImpls()
@StdVector public OperatorName getRegistrationsForDispatchKey(@ByVal DispatchKeyOptional k)
Copyright © 2024. All rights reserved.