File: exceptions.py

package info (click to toggle)
pytorch-ignite 0.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,712 kB
  • sloc: python: 46,874; sh: 376; makefile: 27
file content (7 lines) | stat: -rw-r--r-- 150 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
__all__ = ["NotComputableError"]


class NotComputableError(RuntimeError):
    """
    Exception class to raise if Metric cannot be computed.
    """