Package | Description |
---|---|
org.bytedeco.pytorch | |
org.bytedeco.pytorch.global |
Modifier and Type | Method and Description |
---|---|
TensorIndexArrayRef |
TensorIndexArrayRef.getPointer(long i) |
TensorIndexArrayRef |
TensorIndexArrayRef.position(long position) |
TensorIndexArrayRef |
TensorIndexArrayRef.slice(long N)
slice(n) - Chop off the first N elements of the array.
|
TensorIndexArrayRef |
TensorIndexArrayRef.slice(long N,
long M)
slice(n, m) - Take M elements of the array starting at element N
|
Modifier and Type | Method and Description |
---|---|
Tensor |
Tensor.index_put_(TensorIndexArrayRef indices,
Scalar v) |
Tensor |
Tensor.index_put_(TensorIndexArrayRef indices,
Tensor rhs) |
Tensor |
Tensor.index(TensorIndexArrayRef indices) |
Modifier and Type | Method and Description |
---|---|
static Tensor |
torch.applySlicing(Tensor self,
TensorIndexArrayRef indices,
TensorVector outIndices,
boolean disable_slice_optimization,
Device self_device,
SymIntArrayRefOptional self_sizes) |
static long |
torch.count_specified_dimensions(TensorIndexArrayRef indices) |
static Tensor |
torch.get_item(Tensor self,
TensorIndexArrayRef indices) |
static Tensor |
torch.get_item(Tensor self,
TensorIndexArrayRef indices,
boolean disable_slice_optimization) |
static void |
torch.set_item(Tensor self,
TensorIndexArrayRef indices,
Tensor value) |
static void |
torch.set_item(Tensor self,
TensorIndexArrayRef indices,
Tensor value,
boolean disable_slice_optimization) |
Copyright © 2024. All rights reserved.