code: def batched_dot_product(
      x: Tensor, y: Tensor, keepdim: bool = False
  ) -> Tensor:
      """Return a batched version of .dot()"""
      KORNIA_CHECK_SHAPE(x, ["*", "N"])
      KORNIA_CHECK_SHAPE(y, ["*", "N"])
      return (x * y).sum(-1, keepdim)
  
file_path: kornia/kornia/geometry/linalg.py
imports: from __future__ import annotations
  import torch
  from kornia.core import Tensor, zeros_like
  from kornia.core.check import KORNIA_CHECK, KORNIA_CHECK_IS_TENSOR, KORNIA_CHECK_SHAPE
  from kornia.geometry.conversions import convert_points_from_homogeneous, convert_points_to_homogeneous
label_desc: Use image node_id 6 for calling a global function with example usage: batched_dot_product(x, y, keepdim) and returns: unknown