Package | Description |
---|---|
org.bytedeco.pytorch | |
org.bytedeco.pytorch.global |
Modifier and Type | Method and Description |
---|---|
ShortArrayRef |
ShortArrayRef.getPointer(long i) |
ShortArrayRef |
ShortArrayRef.position(long position) |
ShortArrayRef |
ShortArrayRef.slice(long N)
slice(n) - Chop off the first N elements of the array.
|
ShortArrayRef |
ShortArrayRef.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 |
ShortArrayRef.equals(ShortArrayRef RHS)
equals - Check for element-wise equality.
|
Modifier and Type | Method and Description |
---|---|
static Tensor |
torch.tensor(ShortArrayRef values) |
static Tensor |
torch.tensor(ShortArrayRef values,
TensorOptions options) |
Copyright © 2024. All rights reserved.