Package | Description |
---|---|
org.bytedeco.pytorch | |
org.bytedeco.pytorch.global |
Modifier and Type | Method and Description |
---|---|
torch.Backend |
TensorOptions.backend() |
Modifier and Type | Method and Description |
---|---|
Tensor |
Tensor.toBackend(torch.Backend b) |
Modifier and Type | Method and Description |
---|---|
static torch.Backend |
torch.dispatchKeyToBackend(torch.DispatchKey t) |
torch.Backend |
torch.Backend.intern() |
static torch.Backend |
torch.Backend.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static torch.Backend[] |
torch.Backend.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static torch.DeviceType |
torch.backendToDeviceType(torch.Backend b) |
static torch.DispatchKey |
torch.backendToDispatchKey(torch.Backend b) |
static void |
torch.checkBackend(BytePointer c,
TensorArrayRef t,
torch.Backend backend) |
static void |
torch.checkBackend(String c,
TensorVector t,
torch.Backend backend) |
static boolean |
torch.isSparse(torch.Backend b) |
static boolean |
torch.isSparseCsr(torch.Backend b) |
static torch.Layout |
torch.layout_from_backend(torch.Backend backend) |
static Pointer |
torch.shiftLeft(Pointer out,
torch.Backend b) |
static BytePointer |
torch.toString(torch.Backend b) |
Copyright © 2024. All rights reserved.