class_docstr: Same as `loss_cls`, but flattens input and target.
code: def __repr__(self) -> str:
      return f"FlattenedLoss of {self.func}"
  
imports: from __future__ import annotations
  from .imports import *
  from .torch_imports import *
  from .torch_core import *
  from .layers import *
label_desc: Use image node_id 2 for calling the BaseLoss obj's underlying member method code with example usage: obj.__repr__() and returns: str, self