class_docstr: Base class to calculate the loss during training.
  
  This implementation of :class:`torch.nn.Module` allows building
  the loss object from a configuration file.
docstr: Does this loss have learned parameters?
code: def has_learned_parameters(self) -> bool:
      """Does this loss have learned parameters?"""
      return any(
          param.requires_grad for param in self.parameters(recurse=True)
      )
  
file_path: ClassyVision/classy_vision/losses/classy_loss.py
imports: from typing import Any, Dict
  import torch.nn
label_desc: Use image node_id 6 for calling the ClassyLoss obj's underlying member method code with example usage: obj.has_learned_parameters() and returns: any