Package | Description |
---|---|
org.bytedeco.pytorch | |
org.bytedeco.pytorch.global |
Modifier and Type | Method and Description |
---|---|
SoftMarginLossOptions |
SoftMarginLossOptions.getPointer(long i) |
SoftMarginLossOptions |
SoftMarginLossImpl.options()
The options with which this
Module was constructed. |
SoftMarginLossOptions |
SoftMarginLossOptions.position(long position) |
Modifier and Type | Method and Description |
---|---|
SoftMarginLossImpl |
SoftMarginLossImpl.options(SoftMarginLossOptions setter) |
Constructor and Description |
---|
SoftMarginLossImpl(SoftMarginLossOptions options_) |
Modifier and Type | Method and Description |
---|---|
static Tensor |
torch.soft_margin_loss(Tensor input,
Tensor target,
SoftMarginLossOptions options)
See
/** https://pytorch.org/docs/master/nn.functional.html#torch.nn.functional.soft_margin_loss
/** about the exact behavior of this functional.
|
Copyright © 2024. All rights reserved.