class_docstr: Losses factory.
code: def names(cls) -> KeysView:
      return cls._losses.keys()
  
file_path: h2o-llmstudio/llm_studio/src/losses/text_causal_language_modeling_losses.py
imports: import logging
  from typing import Any, KeysView
  from torch import nn
label_desc: Use image node_id 1 for calling the Losses obj's underlying member method code with example usage: obj.names(cls) and returns: cls