Package | Description |
---|---|
org.bytedeco.pytorch | |
org.bytedeco.pytorch.global |
Modifier and Type | Method and Description |
---|---|
DoubleArrayRef |
DoubleArrayRefOptional.get() |
DoubleArrayRef |
DoubleArrayRef.getPointer(long i) |
DoubleArrayRef |
DoubleArrayRef.position(long position) |
DoubleArrayRef |
DoubleArrayRef.slice(long N)
slice(n) - Chop off the first N elements of the array.
|
DoubleArrayRef |
DoubleArrayRef.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 |
DoubleArrayRef.equals(DoubleArrayRef RHS)
equals - Check for element-wise equality.
|
DoubleArrayRefOptional |
DoubleArrayRefOptional.put(DoubleArrayRef value) |
Constructor and Description |
---|
DoubleArrayRefOptional(DoubleArrayRef value) |
DoubleList(DoubleArrayRef initial_values)
Constructs a list with some initial values.
|
Modifier and Type | Method and Description |
---|---|
static Tensor |
torch.tensor(DoubleArrayRef values) |
static Tensor |
torch.tensor(DoubleArrayRef values,
TensorOptions options) |
Copyright © 2024. All rights reserved.