code: def stride_minus_kernel_padding(
      kernel_size: Sequence[int] | int, stride: Sequence[int] | int
  ) -> tuple[int, ...] | int:
      kernel_size_np = np.atleast_1d(kernel_size)
      stride_np = np.atleast_1d(stride)
  
      out_padding_np = stride_np - kernel_size_np
      out_padding = tuple(int(p) for p in out_padding_np)
  
      return out_padding if len(out_padding) > 1 else out_padding[0]
  
file_path: MONAI/monai/networks/layers/convutils.py
imports: from __future__ import annotations
  from collections.abc import Sequence
  import numpy
  import torch
label_desc: Use image node_id 2 for calling a global function with example usage: stride_minus_kernel_padding(kernel_size, stride) and returns: unknown