class_docstr: Losses factory.
docstr: Access to Losses.
  
  Args:
      name: losses name
  Returns:
      A class to build the Losses
docstr_tok: ["Access","to","Losses",".","Args",":","name",":","losses","name","Returns",":","A","class","to","build","the","Losses"]
code: def get(cls, name: str) -> Any:
      """Access to Losses.
  
      Args:
          name: losses name
      Returns:
          A class to build the Losses
      """
      return cls._losses.get(name, CrossEntropyLoss)
  
file_path: h2o-llmstudio/llm_studio/src/losses/text_causal_classification_modeling_losses.py
imports: import logging
  from typing import Any, KeysView
  from torch import nn
label_desc: Use image node_id 2 for calling the Losses obj's underlying member method code with example usage: obj.get(cls, name) and returns: cls