Class SmoothL1Loss

Inheritance Relationships

Base Type

Class Documentation

class torch::nn::SmoothL1Loss : public torch::nn::ModuleHolder<SmoothL1LossImpl>

A ModuleHolder subclass for SmoothL1LossImpl.

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

Public Types

using Impl = SmoothL1LossImpl


Access comprehensive developer documentation for PyTorch

View Docs


Get in-depth tutorials for beginners and advanced developers

View Tutorials


Find development resources and get your questions answered

View Resources