| Package | Description |
|---|---|
| org.bytedeco.pytorch |
| Modifier and Type | Method and Description |
|---|---|
GeneratorImplPtr |
GeneratorImpl.clonePtr() |
GeneratorImplPtr |
Generator.getIntrusivePtr() |
GeneratorImplPtr |
GeneratorImplPtr.getPointer(long i) |
GeneratorImplPtr |
GeneratorImplPtr.position(long position) |
GeneratorImplPtr |
GeneratorImplPtr.put(GeneratorImplPtr rhs) |
static GeneratorImplPtr |
GeneratorImplPtr.reclaim_copy(GeneratorImpl owning_ptr)
Takes an owning pointer to TTarget* and creates an intrusive_ptr
representing a new reference, i.e.
|
static GeneratorImplPtr |
GeneratorImplPtr.reclaim(GeneratorImpl owning_ptr)
Takes an owning pointer to TTarget* and creates an intrusive_ptr that takes
over ownership.
|
static GeneratorImplPtr |
GeneratorImplPtr.unsafe_adapt_non_heap_allocated(GeneratorImpl 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 GeneratorImplPtr |
GeneratorImplPtr.unsafe_reclaim_from_nonowning(GeneratorImpl raw_ptr)
Turn a **non-owning raw pointer** to an intrusive_ptr.
|
static GeneratorImplPtr |
GeneratorImplPtr.unsafe_steal_from_new(GeneratorImpl raw_ptr)
Turn a new instance of TTarget (e.g., literally allocated
using new TTarget(...) into an intrusive_ptr.
|
| Modifier and Type | Method and Description |
|---|---|
GeneratorImplPtr |
GeneratorImplPtr.put(GeneratorImplPtr rhs) |
void |
GeneratorImplPtr.swap(GeneratorImplPtr rhs) |
| Constructor and Description |
|---|
Generator(GeneratorImplPtr gen_impl) |
GeneratorImplPtr(GeneratorImplPtr rhs) |
Copyright © 2024. All rights reserved.