class_docstr: Squeeze and Excitation.
code: def __init__(self, chan: int, squeeze_factor: int = 4) -> None:
      super().__init__(
          [
              layers.GlobalAveragePooling2D(),
              layers.Dense(chan // squeeze_factor, activation="relu"),
              layers.Dense(chan, activation="hard_sigmoid"),
              layers.Reshape((1, 1, chan)),
          ]
      )
  
imports: from copy import deepcopy
  from typing import Any, Dict, List, Optional, Tuple, Union
  import tensorflow
  from tensorflow.keras import layers
  from tensorflow.keras.models import Sequential
  from ....datasets import VOCABS
  from ...utils import conv_sequence, load_pretrained_params
label_desc: Use image node_id 1 to create a new SqueezeExcitation object from inherited base classes: Sequential with example: obj = SqueezeExcitation(chan, squeeze_factor)