class_docstr: Perform *pointwise* affine transform: y = loc + scale * x.
class_docstr_tok: ["Perform","*","pointwise","*","affine","transform",":","y","=","loc","+","scale","*","x","."]
code: def log_det_jacobian(self, x, y):
      # element-wise abs(log(dy/dx))
      value = np.ones_like(x) * np.log(
          np.abs(self._scale)
      )  # pylint: disable=too-many-function-args
      return sum_right_most(value, self.event_dim)
  
imports: import weakref
  from ..distributions.utils import _clip_prob, cached_property, sum_right_most
  from ...block import HybridBlock
  from ....None import np, npx
label_desc: Use image node_id 4 for calling the AffineTransform obj's underlying member method code with example usage: obj.log_det_jacobian(x, y) and returns: sum_right_most