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