Package | Description |
---|---|
org.bytedeco.pytorch | |
org.bytedeco.pytorch.global |
Modifier and Type | Class and Description |
---|---|
class |
NestedTensorImpl |
class |
UndefinedTensorImpl |
Modifier and Type | Method and Description |
---|---|
TensorImpl |
TensorImplPtr.access() |
TensorImpl |
TensorImplVector.back() |
TensorImpl |
TensorImplSet.front() |
TensorImpl |
TensorImplVector.front() |
TensorImpl |
TensorImplSet.Iterator.get() |
TensorImpl |
TensorImplPtr.get() |
TensorImpl[] |
TensorImplVector.get() |
TensorImpl |
TensorImplVector.Iterator.get() |
TensorImpl |
TensorImplVector.get(long i) |
TensorImpl |
TensorImplPtr.multiply() |
TensorImpl |
TensorImplVector.pop_back() |
TensorImpl |
TensorImplPtr.release()
Returns an owning (!) pointer to the underlying object and makes the
intrusive_ptr instance invalid.
|
static TensorImpl |
UndefinedTensorImpl.singleton() |
TensorImpl |
TensorBase.unsafeGetTensorImpl() |
TensorImpl |
TensorBase.unsafeReleaseTensorImpl() |
TensorImpl |
IValue.unsafeToTensorImpl() |
Modifier and Type | Method and Description |
---|---|
TensorImplPtr |
PyInterpreterVTable.detach(TensorImpl self) |
Device |
PyInterpreterVTable.device(TensorImpl self) |
long |
PyInterpreterVTable.dim(TensorImpl self) |
void |
TensorImplSet.erase(TensorImpl value) |
void |
TensorImplSet.insert(TensorImpl value) |
TensorImplVector.Iterator |
TensorImplVector.insert(TensorImplVector.Iterator pos,
TensorImpl value) |
boolean |
PyInterpreterVTable.is_contiguous(TensorImpl self,
torch.MemoryFormat arg1) |
boolean |
PyInterpreterVTable.is_non_overlapping_and_dense(TensorImpl self) |
boolean |
PyInterpreterVTable.is_strides_like(TensorImpl self,
torch.MemoryFormat arg1) |
torch.Layout |
PyInterpreterVTable.layout(TensorImpl self) |
TensorImplVector |
TensorImplVector.push_back(TensorImpl value) |
TensorImplVector |
TensorImplVector.put(long i,
TensorImpl value) |
TensorImplVector |
TensorImplVector.put(TensorImpl... array) |
TensorImplVector |
TensorImplVector.put(TensorImpl value) |
static TensorImplPtr |
TensorImplPtr.reclaim_copy(TensorImpl owning_ptr)
Takes an owning pointer to TTarget* and creates an intrusive_ptr
representing a new reference, i.e.
|
static TensorImplPtr |
TensorImplPtr.reclaim(TensorImpl owning_ptr)
Takes an owning pointer to TTarget* and creates an intrusive_ptr that takes
over ownership.
|
void |
PyInterpreterVTable.reset_backward_hooks(TensorImpl self) |
void |
AutogradMeta.set_requires_grad(boolean requires_grad,
TensorImpl self_impl)
Sets the
requires_grad property of Variable . |
void |
AutogradMetaInterface.set_requires_grad(boolean requires_grad,
TensorImpl self_impl) |
void |
GeneratorImpl.set_state(TensorImpl new_state) |
void |
CPUGeneratorImpl.set_state(TensorImpl new_state) |
void |
TensorImpl.ShareData(TensorImpl src)
\brief Shares the data with another tensor.
|
LongArrayRef |
PyInterpreterVTable.sizes(TensorImpl self) |
LongArrayRef |
PyInterpreterVTable.strides(TensorImpl self) |
SymInt |
PyInterpreterVTable.sym_numel(TensorImpl self) |
SymIntArrayRef |
PyInterpreterVTable.sym_sizes(TensorImpl self) |
SymInt |
PyInterpreterVTable.sym_storage_offset(TensorImpl self) |
SymIntArrayRef |
PyInterpreterVTable.sym_strides(TensorImpl self) |
static TensorImplPtr |
TensorImplPtr.unsafe_adapt_non_heap_allocated(TensorImpl 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 TensorImplPtr |
TensorImplPtr.unsafe_reclaim_from_nonowning(TensorImpl raw_ptr)
Turn a **non-owning raw pointer** to an intrusive_ptr.
|
static TensorImplPtr |
TensorImplPtr.unsafe_steal_from_new(TensorImpl raw_ptr)
Turn a new instance of TTarget (e.g., literally allocated
using new TTarget(...) into an intrusive_ptr.
|
Constructor and Description |
---|
AutogradMeta(TensorImpl self_impl,
boolean requires_grad,
Edge gradient_edge) |
TensorImplPtr(TensorImpl target,
DontIncreaseRefcount arg1) |
TensorImplVector(TensorImpl... array) |
TensorImplVector(TensorImpl value) |
Modifier and Type | Method and Description |
---|---|
static TensorImpl |
torch.propagate_names_if_nonempty(TensorImpl result,
DimnameArrayRef maybe_names) |
static TensorImpl |
torch.propagate_names_if_nonempty(TensorImpl result,
DimnameArrayRef maybe_names,
boolean validate_names) |
static TensorImpl |
torch.propagate_names_if_nonempty(TensorImpl result,
DimnameVector maybe_names) |
static TensorImpl |
torch.propagate_names_if_nonempty(TensorImpl result,
DimnameVector maybe_names,
boolean validate_names) |
static TensorImpl |
torch.propagate_names(TensorImpl result,
DimnameArrayRef names) |
static TensorImpl |
torch.propagate_names(TensorImpl result,
DimnameArrayRef names,
boolean validate_names) |
static TensorImpl |
torch.propagate_names(TensorImpl result,
DimnameVector names) |
static TensorImpl |
torch.propagate_names(TensorImpl result,
DimnameVector names,
boolean validate_names) |
Copyright © 2024. All rights reserved.