| Package | Description |
|---|---|
| org.bytedeco.pytorch |
| Modifier and Type | Method and Description |
|---|---|
SymNodeImpl |
SymNode.access() |
SymNodeImpl |
SymNode.get() |
SymNodeImpl |
SymNodeImpl.getPointer(long i) |
SymNodeImpl |
SymNode.multiply() |
SymNodeImpl |
SymNodeImpl.position(long position) |
SymNodeImpl |
SymNode.release()
Returns an owning (!) pointer to the underlying object and makes the
intrusive_ptr instance invalid.
|
SymNodeImpl |
SymFloat.toSymNodeImplUnowned() |
SymNodeImpl |
SymBool.toSymNodeImplUnowned() |
SymNodeImpl |
SymInt.toSymNodeImplUnowned() |
| Modifier and Type | Method and Description |
|---|---|
static SymNode |
SymNode.reclaim_copy(SymNodeImpl owning_ptr)
Takes an owning pointer to TTarget* and creates an intrusive_ptr
representing a new reference, i.e.
|
static SymNode |
SymNode.reclaim(SymNodeImpl owning_ptr)
Takes an owning pointer to TTarget* and creates an intrusive_ptr that takes
over ownership.
|
static SymNode |
SymNode.unsafe_adapt_non_heap_allocated(SymNodeImpl raw_ptr,
long expected_decrefs)
Turn an instance of TTarget that should not be reference counted
(e.g., allocated into an arena with placement new) into an
intrusive_ptr.
|
static SymNode |
SymNode.unsafe_reclaim_from_nonowning(SymNodeImpl raw_ptr)
Turn a **non-owning raw pointer** to an intrusive_ptr.
|
static SymNode |
SymNode.unsafe_steal_from_new(SymNodeImpl raw_ptr)
Turn a new instance of TTarget (e.g., literally allocated
using new TTarget(...) into an intrusive_ptr.
|
| Constructor and Description |
|---|
SymNode(SymNodeImpl target,
DontIncreaseRefcount arg1) |
Copyright © 2024. All rights reserved.