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