Rate this Page

Class HuberLoss#

Inheritance Relationships#

Base Type#

Class Documentation#

class HuberLoss : public torch::nn::ModuleHolder<HuberLossImpl>#

A ModuleHolder subclass for HuberLossImpl.

See the documentation for HuberLossImpl class to learn what methods it provides, and examples of how to use HuberLoss with torch::nn::HuberLossOptions. See the documentation for ModuleHolder to learn about PyTorch’s module storage semantics.

Public Types

using Impl = HuberLossImpl#