standardize module docstring

This commit is contained in:
giovanni
2025-03-14 16:32:19 +01:00
committed by Nicola Demo
parent 0fcb78bc51
commit aea24d0bee
60 changed files with 61 additions and 122 deletions

View File

@@ -1,4 +1,4 @@
"""Module for the Loss Interface"""
"""Module for the Loss Interface."""
from abc import ABCMeta, abstractmethod
from torch.nn.modules.loss import _Loss

View File

@@ -1,4 +1,4 @@
"""Module for LpLoss class"""
"""Module for the LpLoss class."""
import torch

View File

@@ -1,4 +1,4 @@
"""Module for PowerLoss class"""
"""Module for the PowerLoss class."""
import torch

View File

@@ -1,4 +1,4 @@
"""Module for the Weighting Interface"""
"""Module for the Weighting Interface."""
from abc import ABCMeta, abstractmethod