class_docstr: Same as `LabelSmoothingCrossEntropy`, but flattens input and target.
code: def __init__(self, *args, axis: int = -1, **kwargs):  # Class axis
      super().__init__(
          LabelSmoothingCrossEntropy, *args, axis=axis, **kwargs
      )
  
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 1 to create a new LabelSmoothingCrossEntropyFlat object from inherited base classes: BaseLoss with example: obj = LabelSmoothingCrossEntropyFlat()