Rate this Page

Typedef torch::nn::functional::L1LossFuncOptions#

Typedef Documentation#

using torch::nn::functional::L1LossFuncOptions = L1LossOptions#

Options for torch::nn::functional::l1_loss.

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

Example:

namespace F = torch::nn::functional;
F::l1_loss(input, target, F::L1LossFuncOptions(torch::kNone));