Class L1Loss¶
Defined in File loss.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::ModuleHolder< L1LossImpl >
(Template Class ModuleHolder)
Class Documentation¶
-
class L1Loss : public torch::nn::ModuleHolder<L1LossImpl>¶
A
ModuleHolder
subclass forL1LossImpl
.See the documentation for
L1LossImpl
class to learn what methods it provides, and examples of how to useL1Loss
withtorch::nn::L1LossOptions
. See the documentation forModuleHolder
to learn about PyTorch’s module storage semantics.Public Types
-
using Impl = L1LossImpl¶
-
using Impl = L1LossImpl¶