| Package | Description |
|---|---|
| org.bytedeco.pytorch | |
| org.bytedeco.pytorch.global |
| Modifier and Type | Method and Description |
|---|---|
IntArrayRef |
IntArrayRef.getPointer(long i) |
IntArrayRef |
IntArrayRef.position(long position) |
IntArrayRef |
IntArrayRef.slice(long N)
slice(n) - Chop off the first N elements of the array.
|
IntArrayRef |
IntArrayRef.slice(long N,
long M)
slice(n, m) - Take M elements of the array starting at element N
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IntArrayRef.equals(IntArrayRef RHS)
equals - Check for element-wise equality.
|
| Modifier and Type | Method and Description |
|---|---|
static Tensor |
torch.tensor(IntArrayRef values) |
static Tensor |
torch.tensor(IntArrayRef values,
TensorOptions options) |
static LongVector |
torch.ToVectorint64_t(IntArrayRef src)
A utility function to convert vector
|
Copyright © 2024. All rights reserved.