docstr: Specifies loss block to be used for specific value head implementation.
  
  :return: loss block (can be called as function) for outputs returned by the head network.
docstr_tok: ["Specifies","loss","block","to","be","used","for","specific","value","head","implementation",".",":","return",":","loss","block","(","can","be","called","as","function",")","for","outputs","returned","by","the","head","network","."]
code: def loss(self) -> Loss:
      """
      Specifies loss block to be used for specific value head implementation.
  
      :return: loss block (can be called as function) for outputs returned by the head network.
      """
      return VHeadLoss(
          loss_type=self.loss_type, weight=self.loss_weight
      )
  
file_path: coach/rl_coach/architectures/mxnet_components/heads/v_head.py
imports: from typing import Union, List, Tuple
  from types import ModuleType
  import mxnet
  from mxnet.gluon.loss import Loss, HuberLoss, L2Loss
  from mxnet.gluon import nn
  from rl_coach.architectures.mxnet_components.heads.head import Head, HeadLoss, LossInputSchema, NormalizedRSSInitializer
  from rl_coach.architectures.mxnet_components.heads.head import LOSS_OUT_TYPE_LOSS
  from rl_coach.base_parameters import AgentParameters
  from rl_coach.core_types import VStateValue
  from rl_coach.spaces import SpacesDefinition
label_desc: Use image node_id 2 for calling the VHead obj's underlying member method code with example usage: obj.loss() and returns: VHeadLoss