code: def determinant_3d(H):
      """
      Returns the determinants of a batched 3-D matrix
      """
      detH = (
          H[..., 0, 0]
          * (H[..., 1, 1] * H[..., 2, 2] - H[..., 2, 1] * H[..., 1, 2])
          + H[..., 0, 1]
          * (H[..., 1, 2] * H[..., 2, 0] - H[..., 1, 0] * H[..., 2, 2])
          + H[..., 0, 2]
          * (H[..., 1, 0] * H[..., 2, 1] - H[..., 2, 0] * H[..., 1, 1])
      )
      return detH
  
file_path: pyro/pyro/ops/linalg.py
imports: import math
  import warnings
  from contextlib import contextmanager
  import torch
label_desc: Use image node_id 3 for calling a global function with example usage: determinant_3d(H) and returns: detH