Shortcuts

Typedef torch::nn::functional::MultilabelMarginLossFuncOptions

Typedef Documentation

using torch::nn::functional::MultilabelMarginLossFuncOptions = MultiLabelMarginLossOptions

Options for torch::nn::functional::multilabel_margin_loss.

See the documentation for torch::nn::MultiLabelMarginLossOptions class to learn what arguments are supported.

Example:

namespace F = torch::nn::functional;
F::multilabel_margin_loss(input, target,
F::MultilabelMarginLossFuncOptions(torch::kNone));

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources