code: def test_deconv2d_bilinear_upsampling_initializer(self):
      rescale_factor = 2
      imsize = 128
      num_channels = 3
      num_in_channels = 3
      num_out_channels = 3
      filter_shape = (5, 5, num_out_channels, num_in_channels)
      ni = tl.layers.Input(shape=(1, imsize, imsize, num_channels))
      bilinear_init = (
          tl.initializers.deconv2d_bilinear_upsampling_initializer(
              shape=filter_shape
          )
      )
      deconv_layer = tl.layers.DeConv2dLayer(
          shape=filter_shape,
          outputs_shape=(
              1,
              imsize * rescale_factor,
              imsize * rescale_factor,
              num_out_channels,
          ),
          strides=(1, rescale_factor, rescale_factor, 1),
          W_init=bilinear_init,
          padding="SAME",
          act=None,
          name="g/h1/decon2d",
      )
      nn = deconv_layer(ni)
  
file_path: TensorLayer/tests/test_initializers.py
imports: import os
  import unittest
  import numpy
  import tensorlayer
  from tests.utils import CustomTestCase
label_desc: Use image node_id 10 for calling the Test_Leaky_ReLUs obj's underlying member method code with example usage: obj.test_deconv2d_bilinear_upsampling_initializer() without return types