| Package | Description |
|---|---|
| org.bytedeco.pytorch | |
| org.bytedeco.pytorch.global |
| Modifier and Type | Method and Description |
|---|---|
TensorIndex |
TensorIndexArrayRef.at(long Index)
Vector compatibility
|
TensorIndex |
TensorIndexArrayRef.back()
back - Get the last element.
|
TensorIndex |
TensorIndexVector.back() |
TensorIndex |
TensorIndexArrayRef.begin()
\}
\name Simple Operations
\{
|
TensorIndex |
TensorIndexArrayRef.cbegin() |
TensorIndex |
TensorIndexArrayRef.cend() |
TensorIndex |
TensorIndexArrayRef.data() |
TensorIndex |
TensorIndexArrayRef.end() |
TensorIndex |
TensorIndexArrayRef.front()
front - Get the first element.
|
TensorIndex |
TensorIndexVector.front() |
TensorIndex[] |
TensorIndexVector.get() |
TensorIndex |
TensorIndexVector.Iterator.get() |
TensorIndex |
TensorIndexArrayRef.get(long Index)
\}
\name Operator Overloads
\{
|
TensorIndex |
TensorIndexVector.get(long i) |
TensorIndex |
TensorIndexVector.pop_back() |
| Modifier and Type | Method and Description |
|---|---|
TensorIndexVector.Iterator |
TensorIndexVector.insert(TensorIndexVector.Iterator pos,
TensorIndex value) |
TensorIndexVector |
TensorIndexVector.push_back(TensorIndex value) |
TensorIndexVector |
TensorIndexVector.put(long i,
TensorIndex value) |
TensorIndexVector |
TensorIndexVector.put(TensorIndex... array) |
TensorIndexVector |
TensorIndexVector.put(TensorIndex value) |
| Constructor and Description |
|---|
TensorIndexArrayRef(TensorIndex data,
long length)
Construct an ArrayRef from a pointer and length.
|
TensorIndexArrayRef(TensorIndex begin,
TensorIndex end)
Construct an ArrayRef from a range.
|
TensorIndexVector(TensorIndex... array) |
TensorIndexVector(TensorIndex value) |
| Modifier and Type | Method and Description |
|---|---|
static Tensor |
torch.handleDimInMultiDimIndexing(Tensor prev_dim_result,
Tensor original_tensor,
TensorIndex index,
long[] dim_ptr,
long[] specified_dims_ptr,
long real_dim,
TensorVector outIndices,
boolean disable_slice_optimization,
Device original_tensor_device,
SymIntArrayRefOptional prev_dim_result_sizes) |
static Tensor |
torch.handleDimInMultiDimIndexing(Tensor prev_dim_result,
Tensor original_tensor,
TensorIndex index,
LongBuffer dim_ptr,
LongBuffer specified_dims_ptr,
long real_dim,
TensorVector outIndices,
boolean disable_slice_optimization,
Device original_tensor_device,
SymIntArrayRefOptional prev_dim_result_sizes) |
static Tensor |
torch.handleDimInMultiDimIndexing(Tensor prev_dim_result,
Tensor original_tensor,
TensorIndex index,
LongPointer dim_ptr,
LongPointer specified_dims_ptr,
long real_dim,
TensorVector outIndices,
boolean disable_slice_optimization,
Device original_tensor_device,
SymIntArrayRefOptional prev_dim_result_sizes) |
static Pointer |
torch.shiftLeft(Pointer stream,
TensorIndex tensor_index) |
Copyright © 2024. All rights reserved.