Package | Description |
---|---|
org.bytedeco.pytorch | |
org.bytedeco.pytorch.global |
Modifier and Type | Method and Description |
---|---|
torch.Layout |
LayoutOptional.get() |
torch.Layout |
TensorImpl.layout() |
torch.Layout |
TensorBase.layout()
Returns a
Tensor 's layout. |
torch.Layout |
TensorOptions.layout()
Returns the layout of the
TensorOptions . |
torch.Layout |
VariableInfo.layout() |
torch.Layout |
PyInterpreterVTable.layout(TensorImpl self) |
torch.Layout |
IValue.toLayout() |
Modifier and Type | Method and Description |
---|---|
VariableInfo |
VariableInfo.layout(torch.Layout setter) |
LayoutOptional |
LayoutOptional.put(torch.Layout value) |
Constructor and Description |
---|
IValue(torch.Layout l) |
LayoutOptional(torch.Layout value) |
TensorOptions(torch.Layout layout)
Constructs a
TensorOptions object with the given layout. |
Modifier and Type | Method and Description |
---|---|
static torch.Layout |
torch.dispatchKeyToLayout(torch.DispatchKey dispatch_key) |
torch.Layout |
torch.Layout.intern() |
static torch.Layout |
torch.layout_from_backend(torch.Backend backend) |
static torch.Layout |
torch.layout_or_default(LayoutOptional layout) |
static torch.Layout |
torch.Layout.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static torch.Layout[] |
torch.Layout.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
torch.checkLayout(BytePointer c,
TensorArrayRef tensors,
torch.Layout layout) |
static void |
torch.checkLayout(BytePointer c,
Tensor t,
torch.Layout layout) |
static void |
torch.checkLayout(String c,
TensorVector tensors,
torch.Layout layout) |
static TensorOptions |
torch.layout(torch.Layout layout)
Convenience function that returns a
TensorOptions object with the layout
set to the given one. |
static Pointer |
torch.shiftLeft(Pointer stream,
torch.Layout layout) |
Copyright © 2024. All rights reserved.