class_docstr: Tiler Configuration Callback.
docstr: Sets tiling configuration from the command line.
  
  Args:
      enable (bool): Boolean to enable tiling operation.
          Defaults to False.
      tile_size ([int | Sequence]): Tile size.
          Defaults to 256.
      stride ([int | Sequence]): Stride to move tiles on the image.
      remove_border_count (int, optional): Number of pixels to remove from the image before
          tiling. Defaults to 0.
      mode (str, optional): Up-scaling mode when untiling overlapping tiles.
          Defaults to "padding".
      tile_count (SupportsIndex, optional): Number of random tiles to sample from the image.
          Defaults to 4.
code: def __init__(
      self,
      enable: bool = False,
      tile_size: int | Sequence = 256,
      stride: int | Sequence | None = None,
      remove_border_count: int = 0,
      mode: ImageUpscaleMode = ImageUpscaleMode.PADDING,
  ) -> None:
      """Sets tiling configuration from the command line.
  
      Args:
          enable (bool): Boolean to enable tiling operation.
              Defaults to False.
          tile_size ([int | Sequence]): Tile size.
              Defaults to 256.
          stride ([int | Sequence]): Stride to move tiles on the image.
          remove_border_count (int, optional): Number of pixels to remove from the image before
              tiling. Defaults to 0.
          mode (str, optional): Up-scaling mode when untiling overlapping tiles.
              Defaults to "padding".
          tile_count (SupportsIndex, optional): Number of random tiles to sample from the image.
              Defaults to 4.
      """
      self.enable = enable
      self.tile_size = tile_size
      self.stride = stride
      self.remove_border_count = remove_border_count
      self.mode = mode
  
file_path: anomalib/src/anomalib/utils/callbacks/tiler_configuration.py
imports: from __future__ import annotations
  from typing import Sequence
  import pytorch_lightning
  from pytorch_lightning.callbacks import Callback
  from anomalib.models.components import AnomalyModule
  from anomalib.pre_processing.tiler import ImageUpscaleMode, Tiler
label_desc: Use image node_id 1 to create a new TilerConfigurationCallback object from inherited base classes: Callback with example: obj = TilerConfigurationCallback(enable, tile_size, stride, remove_border_count, mode)