class_docstr: Delta distribution.
  
  This is used
  
  Args:
      loc (float or Tensor): location of the distribution.
class_docstr_tok: ["Delta","distribution",".","This","is","used","Args",":","loc","(","float","or","Tensor",")",":","location","of","the","distribution","."]
code: def rsample(self, sample_shape=torch.Size()):
      shape = self._extended_shape(sample_shape)
      return self.loc.expand(shape)
  
file_path: pfrl/pfrl/distributions/delta.py
imports: from numbers import Number
  import torch
  from torch.distributions import Distribution, constraints
label_desc: Use image node_id 7 for calling the Delta obj's underlying member method code with example usage: obj.rsample(sample_shape) and returns: self