@Namespace(value="torch::autograd") @Properties(inherit=torch.class) public class TraceableFunction extends Node
Node.undefined_input
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TraceableFunction(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
is_traceable()
Returns true if this function is traceable.
|
add_input_metadata, add_input_metadata, add_input_metadata, add_next_edge, add_post_hook, add_pre_hook, add_retains_grad_hook, add_tensor_pre_hook, apply_with_saved, apply, assign_parent, clear_input_metadata, compiled_args, del_post_hook, getptr, metadata, name, next_edge, next_edges, num_inputs, num_outputs, passes_state_transparently, pop_retains_grad_hook, post_hooks, pre_hooks, pyobj, release_variables, sequence_nr, set_next_edge, set_next_edges, set_pyobj, should_compute_output, stream, stream, task_should_compute_output, tensor_post_acc_grad_hooks, tensor_pre_hooks, thread_id, topological_nr, update_topological_nr, will_release_variables
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 TraceableFunction(Pointer p)
Pointer(Pointer)
.@Cast(value="bool") public boolean is_traceable()
Node
apply()
are performed on autograd
Variables
(i.e. apply mostly instantiates and applies other functions).is_traceable
in class Node
Copyright © 2024. All rights reserved.