code: def _logjacobian(self):
          
          if self.sampling_transforms is None:
              logj = 0.
          else:
              logj = self.sampling_transforms.logjacobian(
                  **self.current_params)
          return logj
docs: Calculates the logjacobian of the current parameters.