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