| Package | Description |
|---|---|
| org.bytedeco.pytorch | |
| org.bytedeco.pytorch.global |
| Modifier and Type | Method and Description |
|---|---|
FuturePtr |
FuturePtrArrayRef.at(long Index)
Vector compatibility
|
FuturePtr |
FuturePtrArrayRef.back()
back - Get the last element.
|
FuturePtr |
FuturePtrArrayRef.begin()
\}
\name Simple Operations
\{
|
FuturePtr |
FuturePtrArrayRef.cbegin() |
FuturePtr |
FuturePtrArrayRef.cend() |
FuturePtr |
Future.createInstance(Type.TypePtr type) |
FuturePtr |
FuturePtrArrayRef.data() |
FuturePtr |
FuturePtrArrayRef.end() |
FuturePtr |
FuturePtrList.extract(long pos)
Moves out the element at the specified location pos and returns it, with bounds checking.
|
FuturePtr |
FuturePtrArrayRef.front()
front - Get the first element.
|
FuturePtr |
FuturePtrList.get(long pos)
Returns the element at specified location pos, with bounds checking.
|
FuturePtr |
FuturePtrArrayRef.get(long Index)
\}
\name Operator Overloads
\{
|
FuturePtr |
FuturePtrElementReference.getFuturePtr() |
FuturePtr |
FuturePtr.getPointer(long i) |
FuturePtr |
FuturePtr.position(long position) |
FuturePtr |
FuturePtr.put(FuturePtr rhs) |
static FuturePtr |
FuturePtr.reclaim_copy(Future owning_ptr)
Takes an owning pointer to TTarget* and creates an intrusive_ptr
representing a new reference, i.e.
|
static FuturePtr |
FuturePtr.reclaim(Future owning_ptr)
Takes an owning pointer to TTarget* and creates an intrusive_ptr that takes
over ownership.
|
FuturePtr |
Method.run_async(IValueVector stack) |
FuturePtr |
Method.run_async(IValueVector stack,
StringIValueMap kwargs,
Pointer taskLauncher) |
FuturePtr |
Function.runAsync(IValueVector arg0) |
FuturePtr |
GraphExecutor.runAsync(IValueVector stack) |
FuturePtr |
GraphFunction.runAsync(IValueVector stack) |
FuturePtr |
Function.runAsync(IValueVector arg0,
Pointer taskLauncher) |
FuturePtr |
GraphExecutor.runAsync(IValueVector stack,
Pointer taskLauncher) |
FuturePtr |
GraphFunction.runAsync(IValueVector stack,
Pointer taskLauncher) |
FuturePtr |
IValue.toFuture() |
static FuturePtr |
FuturePtr.unsafe_adapt_non_heap_allocated(Future 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 FuturePtr |
FuturePtr.unsafe_reclaim_from_nonowning(Future raw_ptr)
Turn a **non-owning raw pointer** to an intrusive_ptr.
|
static FuturePtr |
FuturePtr.unsafe_steal_from_new(Future raw_ptr)
Turn a new instance of TTarget (e.g., literally allocated
using new TTarget(...) into an intrusive_ptr.
|
FuturePtr |
FuturePtrList.vec() |
FuturePtr |
FuturePtrArrayRef.vec()
\}
\name Expensive Operations
\{
|
| Modifier and Type | Method and Description |
|---|---|
FuturePtrListIterator |
FuturePtrList.insert(FuturePtrListIterator pos,
FuturePtr value)
Inserts value before pos.
|
void |
FuturePtrList.push_back(FuturePtr value)
Appends the given element value to the end of the container.
|
FuturePtr |
FuturePtr.put(FuturePtr rhs) |
void |
FuturePtrList.resize(long count,
FuturePtr value)
Resizes the container to contain count elements.
|
void |
FuturePtrList.set(long pos,
FuturePtr value)
Assigns a new value to the element at location pos.
|
void |
FuturePtr.swap(FuturePtr rhs) |
| Constructor and Description |
|---|
FuturePtr(FuturePtr rhs) |
FuturePtrArrayRef(FuturePtr begin,
FuturePtr end)
Construct an ArrayRef from a range.
|
FuturePtrArrayRef(FuturePtr data,
long length)
Construct an ArrayRef from a pointer and length.
|
IValue(FuturePtr v) |
| Modifier and Type | Method and Description |
|---|---|
static FuturePtr |
torch.collectAll(FuturePtrList srcs) |
static FuturePtr |
torch.collectAny(FuturePtrList srcs) |
Copyright © 2024. All rights reserved.