class_docstr: Initialize the Lightseq Cross Entropy Layer.
  
  Static variable:
      layer_id: The layer-index counter starting from 0 and incrementing by 1 every time a layer object is instantiated,
  Arguments:
      config: An object of LSCrossEntropyLayer config, see get_config
code: def get_config(**kwargs):
      @dataclass
      class Config:
          max_batch_tokens: int  # max batch token numbers
          padding_idx: int  # padding token id in vocabulary
          epsilon: float  # label smoothing factor
          fp16: bool  # fp16 presion
          local_rank: int  # rank in local node
  
      return Config(**kwargs)
  
file_path: lightseq/lightseq/training/ops/pytorch/cross_entropy_layer.py
imports: from dataclasses import dataclass
  import torch
  from torch import nn
  from torch.autograd import Function
  from lightseq.training.ops.pytorch.builder import TransformerBuilder
label_desc: Use image node_id 2 for calling the LSCrossEntropyLayer obj's underlying member method code with example usage: obj.get_config() and returns: Config