code: def scatter_max(
      src: torch.Tensor,
      index: torch.Tensor,
      dim: int = -1,
      out: Optional[torch.Tensor] = None,
      dim_size: Optional[int] = None,
  ) -> Tuple[torch.Tensor, torch.Tensor]:
      return torch.ops.torch_scatter.scatter_max(
          src, index, dim, out, dim_size
      )
  
file_path: AutoGL/autogl/module/preprocessing/feature_engineering/_generators/_pyg_impl.py
imports: import torch
  import typing
  from typing import Optional, Tuple
label_desc: Use image node_id 8 for calling a global function with example usage: scatter_max(src, index, dim, out, dim_size) and returns: torch