Typedef torch::nn::functional::MultilabelSoftMarginLossFuncOptions¶
Defined in File loss.h
Typedef Documentation¶
-
using torch::nn::functional::MultilabelSoftMarginLossFuncOptions = MultiLabelSoftMarginLossOptions¶
Options for
torch::nn::functional::multilabel_soft_margin_loss
.See the documentation for
torch::nn::MultiLabelSoftMarginLossOptions
class to learn what arguments are supported.Example:
namespace F = torch::nn::functional; F::multilabel_soft_margin_loss(input, target, F::MultilabelSoftMarginLossFuncOptions().reduction(torch::kNone).weight(weight));