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