code: def conv_bn_lrelu(ni:int, nf:int, ks:int=3, stride:int=1)->nn.Sequential:
      "Create a seuence Conv2d->BatchNorm2d->LeakyReLu layer."
      return nn.Sequential(
          nn.Conv2d(ni, nf, kernel_size=ks, bias=False, stride=stride, padding=ks//2),
          nn.BatchNorm2d(nf),
          nn.LeakyReLU(negative_slope=0.1, inplace=True)f conv_bn_lrelu(ni:int, nf:int, ks:int=3, stride:int=1)->nn.Sequential:
      "Create a seuence Conv2d->BatchNorm2d->LeakyReLu layer."
      return nn.Sequential(
          nn.Conv2d(ni, nf, kernel_size=ks, bias=False, stride=stride, padding=ks//2),
          nn.BatchNorm2d(nf),
          nn.LeakyReLU(negative_slope=0.1, inplace=True))
docs: Create a seuence Conv2d->BatchNorm2d->LeakyReLu layer.