@Namespace(value="c10::impl") @Properties(inherit=torch.class) public class PyInterpreterVTable extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
PyInterpreterVTable(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 PyInterpreterVTable(Pointer p)
Pointer(Pointer)
.@StdString public BytePointer name()
public void decref(@Cast(value="PyObject*") Pointer pyobj, @Cast(value="bool") boolean is_tensor)
@ByVal public TensorImplPtr detach(@Const TensorImpl self)
public void dispatch(@Const @ByRef OperatorHandle op, IValueVector stack)
public void reportErrorCallback(@Cast(value="PyObject*") Pointer callback, torch.DispatchKey key)
public void reportErrorCallback(@Cast(value="PyObject*") Pointer callback, @Cast(value="c10::DispatchKey") short key)
public void python_op_registration_trampoline(@Const @ByRef OperatorHandle op, torch.DispatchKey arg1, IValueVector stack)
public void python_op_registration_trampoline(@Const @ByRef OperatorHandle op, @Cast(value="c10::DispatchKey") short arg1, IValueVector stack)
public void python_dispatcher(@Const @ByRef OperatorHandle op, @ByVal DispatchKeySet arg1, IValueVector stack)
@Cast(value="bool") public boolean is_contiguous(@Const TensorImpl self, @ByVal torch.MemoryFormat arg1)
@Cast(value="bool") public boolean is_strides_like(@Const TensorImpl self, @ByVal torch.MemoryFormat arg1)
@Cast(value="bool") public boolean is_non_overlapping_and_dense(@Const TensorImpl self)
@ByVal public Device device(@Const TensorImpl self)
@Cast(value="int64_t") public long dim(@Const TensorImpl self)
@ByVal public LongArrayRef strides(@Const TensorImpl self)
@ByVal public LongArrayRef sizes(@Const TensorImpl self)
@ByVal public SymIntArrayRef sym_sizes(@Const TensorImpl self)
public torch.Layout layout(@Const TensorImpl self)
@ByVal public SymInt sym_numel(@Const TensorImpl self)
@ByVal public SymIntArrayRef sym_strides(@Const TensorImpl self)
@ByVal public SymInt sym_storage_offset(@Const TensorImpl self)
public void trace_gpu_event_record(@Cast(value="uintptr_t") long event, @Cast(value="uintptr_t") long stream)
public void trace_gpu_event_wait(@Cast(value="uintptr_t") long event, @Cast(value="uintptr_t") long stream)
public void trace_gpu_memory_allocation(@Cast(value="uintptr_t") long ptr)
public void trace_gpu_memory_deallocation(@Cast(value="uintptr_t") long ptr)
public void trace_gpu_stream_creation(@Cast(value="uintptr_t") long stream)
public void trace_gpu_device_synchronization()
public void trace_gpu_stream_synchronization(@Cast(value="uintptr_t") long stream)
public void trace_gpu_event_synchronization(@Cast(value="uintptr_t") long event)
public void reset_backward_hooks(@Const TensorImpl self)
Copyright © 2024. All rights reserved.