class_docstr: Supports ragged tensors.
docstr: Builds the loss for ragged.
docstr_tok: ["Builds","the","loss","for","ragged","."]
code: def build_loss(self):
      """Builds the loss for ragged."""
      return tfr.keras.losses.get(loss=FLAGS.loss, ragged=True)
  
imports: import os
  from typing import List
  from absl import app
  from absl import flags
  from absl import logging
  import tensorflow
  import tensorflow_ranking
label_desc: Use image node_id 1 for calling the RaggedPipeline obj's underlying member method code with example usage: obj.build_loss() and returns: tfr