Package | Description |
---|---|
org.bytedeco.pytorch | |
org.bytedeco.pytorch.global |
Modifier and Type | Method and Description |
---|---|
ScalarTypeArrayRef |
ScalarTypeArrayRef.getPointer(long i) |
ScalarTypeArrayRef |
ScalarTypeArrayRef.position(long position) |
ScalarTypeArrayRef |
ScalarTypeArrayRef.slice(long N)
slice(n) - Chop off the first N elements of the array.
|
ScalarTypeArrayRef |
ScalarTypeArrayRef.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 |
ScalarTypeArrayRef.equals(ScalarTypeArrayRef RHS)
equals - Check for element-wise equality.
|
Modifier and Type | Method and Description |
---|---|
static void |
torch.checkScalarTypes(BytePointer c,
TensorArg t,
ScalarTypeArrayRef l) |
Copyright © 2024. All rights reserved.