class_docstr: This class implements the inverted residual block with squeeze-excitation unit, as described in
  `MobileNetv3 <https://arxiv.org/abs/1905.02244>`_ paper
  
  Args:
      opts: command-line arguments
      in_channels (int): :math:`C_{in}` from an expected input of size :math:`(N, C_{in}, H_{in}, W_{in})`
      out_channels (int): :math:`C_{out}` from an expected output of size :math:`(N, C_{out}, H_{out}, W_{out)`
      expand_ratio (Union[int, float]): Expand the input channels by this factor in depth-wise conv
      dilation (Optional[int]): Use conv with dilation. Default: 1
      stride (Optional[int]): Use convolutions with a stride. Default: 1
      use_se (Optional[bool]): Use squeeze-excitation block. Default: False
      act_fn_name (Optional[str]): Activation function name. Default: relu
      se_scale_fn_name (Optional [str]): Scale activation function inside SE unit. Defaults to hard_sigmoid
      kernel_size (Optional[int]): Kernel size in depth-wise convolution. Defaults to 3.
      squeeze_factor (Optional[bool]): Squeezing factor in SE unit. Defaults to 4.
  
  Shape:
      - Input: :math:`(N, C_{in}, H_{in}, W_{in})`
      - Output: :math:`(N, C_{out}, H_{out}, W_{out})`
code: def __repr__(self) -> str:
      return "{}(in_channels={}, out_channels={}, stride={}, exp={}, dilation={}, use_se={}, kernel_size={}, act_fn={})".format(
          self.__class__.__name__,
          self.in_channels,
          self.out_channels,
          self.stride,
          self.exp,
          self.dilation,
          self.use_se,
          self.kernel_size,
          self.act_fn_name,
      )
  
file_path: ml-cvnets/cvnets/modules/mobilenetv2.py
imports: from typing import Optional, Union
  from torch import Tensor, nn
  from cvnets.layers import ConvLayer2d
  from cvnets.layers.activation import build_activation_layer
  from cvnets.modules import BaseModule, SqueezeExcitation
  from utils.math_utils import make_divisible
label_desc: Use image node_id 3 for calling the InvertedResidualSE obj's underlying member method code with example usage: obj.__repr__() and returns: str