Package | Description |
---|---|
org.bytedeco.pytorch | |
org.bytedeco.pytorch.global |
Modifier and Type | Method and Description |
---|---|
ScalarArrayRef |
ScalarArrayRef.getPointer(long i) |
ScalarArrayRef |
ScalarArrayRef.position(long position) |
ScalarArrayRef |
ScalarArrayRef.slice(long N)
slice(n) - Chop off the first N elements of the array.
|
ScalarArrayRef |
ScalarArrayRef.slice(long N,
long M)
slice(n, m) - Take M elements of the array starting at element N
|
Modifier and Type | Method and Description |
---|---|
static TensorVector |
torch.gradient(Tensor self,
ScalarArrayRef spacing) |
static TensorVector |
torch.gradient(Tensor self,
ScalarArrayRef spacing,
long... dim) |
static TensorVector |
torch.gradient(Tensor self,
ScalarArrayRef spacing,
long[] dim,
long edge_order) |
static TensorVector |
torch.gradient(Tensor self,
ScalarArrayRef spacing,
LongArrayRef dim) |
static TensorVector |
torch.gradient(Tensor self,
ScalarArrayRef spacing,
LongArrayRef dim,
long edge_order) |
static TensorVector |
torch.gradient(Tensor self,
ScalarArrayRef spacing,
LongOptional dim,
long edge_order) |
Copyright © 2024. All rights reserved.