rllib/policy/torch_policy.py
def extra_grad_info(self, train_batch: SampleBatch) -> Dict[str, TensorType]:
        """Return dict of extra grad info.

        Args:
            train_batch: The training batch for which to produce
                extra grad info for.

        Returns:
            The info dict carrying grad info per str key.
        """
        return {}
Return dict of extra grad info.

        Args:
            train_batch: The training batch for which to produce
                extra grad info for.

        Returns:
            The info dict carrying grad info per str key.
        
Return dict of extra grad info.
Return dict of extra grad info .
def extra_grad_info(self, train_batch: SampleBatch) -> Dict[str, TensorType]:
        return {}
def extra_grad_info ( self , train_batch : SampleBatch ) -> Dict [ str , TensorType ] : return { }
Return dict of extra grad info.
Return dict of extra grad info .
"""Return dict of extra grad info.

        Args:
            train_batch: The training batch for which to produce
                extra grad info for.

        Returns:
            The info dict carrying grad info per str key.
        """
The info dict carrying grad info per str key.
The info dict carrying grad info per str key .
self
train_batch
SampleBatch
The training batch for which to produce
extra grad info for.
The training batch for which to produce extra grad info for .