code: def __init__(self, reduction_type: Optional[str] = None, **kwargs):
      super().__init__(**kwargs)
      self.reduction_type = reduction_type
  
imports: from typing import Optional
  import tensorflow
  from tensorflow import nest
  from tensorflow.keras import layers
  from autokeras.engine import block
  from autokeras.utils import layer_utils
  from autokeras.utils import utils
label_desc: Use image node_id 1 to create a new Reduction object from inherited base classes: block_module with example: obj = Reduction(reduction_type)