code: def batched_squared_norm(x: Tensor, keepdim: bool = False) -> Tensor:
      """Return the squared norm of a vector."""
      return batched_dot_product(x, x, 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 7 for calling a global function with example usage: batched_squared_norm(x, keepdim) and returns: batched_dot_product