code: def assert_features_in_step(
      features_in_step: int, input_shape: Tuple[int, ...]
  ) -> None:
      """
          Assert that features in step is compatible with the image size.
  
          Parameters
          ----------
          features_in_step: integer
              The number of features e.g., pixels included in each iteration.
          input_shape: Tuple[int...]
              The shape of the input.
  
          Returns
          -------
      None
      """
      assert np.prod(input_shape) % features_in_step == 0, (
          "Set 'features_in_step' so that the modulo remainder "
          "returns zero given the product of the input shape."
          f" ({np.prod(input_shape)} % {features_in_step} != 0)"
      )
  
file_path: Quantus/quantus/helpers/asserts.py
imports: from typing import Callable, Tuple, Sequence, Union
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: assert_features_in_step(features_in_step, input_shape) without return types