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