class_docstr: Policy-based image augmentation.
code: def __init__(
      self,
      policy: List[SUBPLOLICY_CONFIG],
      transformation_matrix_mode: str = "silence",
  ) -> None:
      policies = self.compose_policy(policy)
      super().__init__(*policies)
      self._parse_transformation_matrix_mode(transformation_matrix_mode)
      self._valid_ops_for_transform_computation: Tuple[Any, ...] = (
          PolicySequential,
      )
  
imports: from typing import Any, Dict, Iterator, List, Optional, Tuple, Union, cast
  import torch
  from kornia.augmentation.auto.operations.base import OperationBase
  from kornia.augmentation.auto.operations.policy import PolicySequential
  from kornia.augmentation.container.base import ImageSequentialBase, TransformMatrixMinIn
  from kornia.augmentation.container.ops import InputSequentialOps
  from kornia.augmentation.container.params import ParamItem
  from kornia.core import Module, Tensor
  from kornia.utils import eye_like
label_desc: Use image node_id 1 to create a new PolicyAugmentBase object from inherited base classes: TransformMatrixMinIn, ImageSequentialBase with example: obj = PolicyAugmentBase(policy, transformation_matrix_mode)