torch_ecg.utils.default_class_repr

torch_ecg.utils.default_class_repr(c: object, align: str = 'center', depth: int = 1) str[source]

Default class representation.

Parameters:
  • c (object) – The object to be represented.

  • align (str, default "center") – Alignment of the class arguments.

  • depth (int, default 1) – Depth of the class arguments to be displayed.

Returns:

The representation of the class.

Return type:

str