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 expand(self, batch_shape, _instance=None):
      new = self._get_checked_instance(Delta, _instance)
      batch_shape = torch.Size(batch_shape)
      new.loc = self.loc.expand(batch_shape)
      super(Delta, new).__init__(batch_shape, validate_args=False)
      new._validate_args = self._validate_args
      return new
  
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 5 for calling the Delta obj's underlying member method code with example usage: obj.expand(batch_shape, _instance) and returns: new