@Namespace(value="torch::autograd") @NoOffset @Properties(inherit=torch.class) public class DifferentiableViewMeta extends AutogradMeta
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
DifferentiableViewMeta(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
get_attr_version() |
Pointer |
get_backward_view() |
torch.CreationMeta |
get_creation_meta() |
Pointer |
get_forward_view() |
boolean |
has_bw_view() |
boolean |
has_fw_view() |
boolean |
requires_grad()
requires_grad is a backward AD field so we only use the view specific
logic for backward differentiable views
|
void |
set_attr_version(int new_attr_version) |
void |
set_creation_meta(byte new_creation_meta) |
void |
set_creation_meta(torch.CreationMeta new_creation_meta) |
boolean |
shared_view_info() |
fw_grad_, fw_grad_, fw_grad, grad_, grad_, grad_fn_, grad_fn_, grad, is_view_, is_view_, mutable_grad, name_, name_, output_nr_, output_nr_, post_acc_grad_hooks_, post_acc_grad_hooks_, requires_grad_, requires_grad_, retains_grad_, retains_grad_, set_fw_grad, set_requires_gradaddress, 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, zeropublic DifferentiableViewMeta(Pointer p)
Pointer(Pointer).@Cast(value="bool") public boolean requires_grad()
requires_grad in class AutogradMeta@Cast(value="const torch::autograd::ViewInfo*") @ByRef public Pointer get_backward_view()
public torch.CreationMeta get_creation_meta()
public void set_creation_meta(torch.CreationMeta new_creation_meta)
public void set_creation_meta(@Cast(value="torch::autograd::CreationMeta") byte new_creation_meta)
Copyright © 2024. All rights reserved.