durandtibo/gravitorch

View on GitHub
src/gravitorch/nn/functional/robust_loss.py

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

File robust_loss.py has 281 lines of code (exceeds 250 allowed). Consider refactoring.
Wontfix

from __future__ import annotations

__all__ = [
    "asinh_mse_loss",
    "log_cosh_loss",
Severity: Minor
Found in src/gravitorch/nn/functional/robust_loss.py - About 2 hrs to fix

    Function relative_smooth_l1_loss has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    def relative_smooth_l1_loss(
    Severity: Minor
    Found in src/gravitorch/nn/functional/robust_loss.py - About 35 mins to fix

      Function symmetric_relative_smooth_l1_loss has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      def symmetric_relative_smooth_l1_loss(
      Severity: Minor
      Found in src/gravitorch/nn/functional/robust_loss.py - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status