| Package | Description |
|---|---|
| org.bytedeco.pytorch | |
| org.bytedeco.pytorch.global |
| Modifier and Type | Method and Description |
|---|---|
PaddingMode |
PadFuncOptions.mode() |
PaddingMode |
PaddingMode.put(kCircular value) |
PaddingMode |
PaddingMode.put(kConstant value) |
PaddingMode |
PaddingMode.put(kReflect value) |
PaddingMode |
PaddingMode.put(kReplicate value) |
PaddingMode |
PaddingMode.put(PaddingMode x) |
| Modifier and Type | Method and Description |
|---|---|
static kConstant |
PaddingMode.get0(PaddingMode container) |
static kReflect |
PaddingMode.get1(PaddingMode container) |
static kReplicate |
PaddingMode.get2(PaddingMode container) |
static kCircular |
PaddingMode.get3(PaddingMode container) |
PaddingMode |
PaddingMode.put(PaddingMode x) |
| Modifier and Type | Method and Description |
|---|---|
static Tensor |
torch.pad(Tensor input,
long[] pad,
PaddingMode mode,
double value) |
static Tensor |
torch.pad(Tensor input,
LongArrayRef pad,
PaddingMode mode,
double value)
ConstantPadOptions specialized for the ConstantPad3d module. |
Copyright © 2024. All rights reserved.