code: def _validate_input_shape(
      input: Tensor, channel_index: int, number: int
  ) -> bool:
      r"""Validate if an input has the right shape.
  
      e.g. to check if an input is channel first.
      If channel first, the second channel of an RGB input shall be fixed to 3. To verify using:
          _validate_input_shape(input, 1, 3)
      Args:
          input: Tensor
          channel_index: int
          number: int
      Returns:
          bool
      """
      return input.shape[channel_index] == number
  
imports: from functools import wraps
  from typing import Any, Callable, Dict, List, Optional, Tuple, Union
  import torch
  from torch.distributions import Beta, Uniform
  from kornia.core import Tensor, as_tensor
  from kornia.geometry.boxes import Boxes
  from kornia.geometry.keypoints import Keypoints
  from kornia.utils import _extract_device_dtype
label_desc: Use image node_id 10 for calling a global function with example usage: _validate_input_shape(input, channel_index, number) and returns: unknown