Package | Description |
---|---|
org.bytedeco.pytorch | |
org.bytedeco.pytorch.global |
Modifier and Type | Method and Description |
---|---|
TensorIndexVector |
TensorIndexVector.push_back(TensorIndex value) |
TensorIndexVector |
TensorIndexVector.put(long i,
TensorIndex value) |
TensorIndexVector |
TensorIndexVector.put(TensorIndex... array) |
TensorIndexVector |
TensorIndexVector.put(TensorIndex value) |
TensorIndexVector |
TensorIndexVector.put(TensorIndexVector x) |
TensorIndexVector |
TensorIndexArrayRef.vec()
\}
\name Expensive Operations
\{
|
Modifier and Type | Method and Description |
---|---|
Tensor |
Tensor.index_put_(TensorIndexVector indices,
Scalar v) |
Tensor |
Tensor.index_put_(TensorIndexVector indices,
Tensor rhs) |
Tensor |
Tensor.index(TensorIndexVector indices) |
TensorIndexVector |
TensorIndexVector.put(TensorIndexVector x) |
Constructor and Description |
---|
TensorIndexArrayRef(TensorIndexVector vec)
Construct an ArrayRef from a C array.
|
Modifier and Type | Method and Description |
---|---|
static Tensor |
torch.applySlicing(Tensor self,
TensorIndexVector indices,
TensorVector outIndices,
boolean disable_slice_optimization,
Device self_device,
SymIntArrayRefOptional self_sizes) |
static long |
torch.count_specified_dimensions(TensorIndexVector indices) |
static Tensor |
torch.get_item(Tensor self,
TensorIndexVector indices) |
static Tensor |
torch.get_item(Tensor self,
TensorIndexVector indices,
boolean disable_slice_optimization) |
static void |
torch.set_item(Tensor self,
TensorIndexVector indices,
Tensor value) |
static void |
torch.set_item(Tensor self,
TensorIndexVector indices,
Tensor value,
boolean disable_slice_optimization) |
static Pointer |
torch.shiftLeft(Pointer stream,
TensorIndexVector tensor_indices) |
Copyright © 2024. All rights reserved.