@Namespace(value="at::impl") @Properties(inherit=torch.class) public class VariableHooksInterface extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
VariableHooksInterface(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
_backward(Tensor arg0,
TensorArrayRef arg1,
TensorOptional arg2,
BoolOptional arg3,
boolean arg4) |
void |
_backward(Tensor arg0,
TensorVector arg1,
TensorOptional arg2,
BoolOptional arg3,
boolean arg4) |
long |
_version(TensorBase arg0) |
TensorBase |
base(TensorBase arg0) |
void |
basic_autograd_not_implemented_fallback(OperatorHandle op,
DispatchKeySet dispatch_keys,
IValueVector stack) |
TensorBase |
data(TensorBase arg0) |
Node |
grad_fn(TensorBase arg0) |
boolean |
is_leaf(TensorBase arg0) |
boolean |
is_view(TensorBase arg0) |
BytePointer |
name(TensorBase arg0) |
long |
output_nr(TensorBase arg0) |
void |
remove_hook(TensorBase arg0,
int pos) |
void |
requires_grad_(TensorBase arg0,
boolean arg1) |
void |
retain_grad(TensorBase arg0) |
boolean |
retains_grad(TensorBase arg0) |
void |
set_data(TensorBase arg0,
TensorBase arg1) |
TensorBase |
tensor_data(TensorBase arg0) |
TensorBase |
variable_data(TensorBase arg0) |
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 VariableHooksInterface(Pointer p)
Pointer(Pointer)
.@ByVal public TensorBase tensor_data(@Const @ByRef TensorBase arg0)
@ByVal public TensorBase variable_data(@Const @ByRef TensorBase arg0)
@SharedPtr public Node grad_fn(@Const @ByRef TensorBase arg0)
public void remove_hook(@Const @ByRef TensorBase arg0, @Cast(value="unsigned") int pos)
@Cast(value="bool") public boolean is_view(@Const @ByRef TensorBase arg0)
@Const @ByRef public TensorBase base(@Const @ByRef TensorBase arg0)
@StdString public BytePointer name(@Const @ByRef TensorBase arg0)
@Cast(value="bool") public boolean is_leaf(@Const @ByRef TensorBase arg0)
@Cast(value="int64_t") public long output_nr(@Const @ByRef TensorBase arg0)
public void set_data(@Const @ByRef TensorBase arg0, @Const @ByRef TensorBase arg1)
@ByVal public TensorBase data(@Const @ByRef TensorBase arg0)
@Cast(value="int64_t") public long _version(@Const @ByRef TensorBase arg0)
public void retain_grad(@Const @ByRef TensorBase arg0)
@Cast(value="bool") public boolean retains_grad(@Const @ByRef TensorBase arg0)
public void _backward(@Const @ByRef Tensor arg0, @ByVal TensorArrayRef arg1, @Const @ByRef TensorOptional arg2, @ByVal BoolOptional arg3, @Cast(value="bool") boolean arg4)
public void _backward(@Const @ByRef Tensor arg0, @ByVal TensorVector arg1, @Const @ByRef TensorOptional arg2, @ByVal BoolOptional arg3, @Cast(value="bool") boolean arg4)
public void requires_grad_(@Const @ByRef TensorBase arg0, @Cast(value="bool") boolean arg1)
public void basic_autograd_not_implemented_fallback(@Const @ByRef OperatorHandle op, @ByVal DispatchKeySet dispatch_keys, IValueVector stack)
Copyright © 2024. All rights reserved.