code: def conv2d(x, fmaps, kernel, **kwargs):
      assert kernel >= 1 and kernel % 2 == 1
      w = get_weight(
          [kernel, kernel, x.shape[1].value, fmaps], **kwargs
      )
      w = tf.cast(w, x.dtype)
      return tf.nn.conv2d(
          x, w, strides=[1, 1, 1, 1], padding="SAME", data_format="NCHW"
      )
  
imports: import numpy
  import tensorflow
  import dnnlib
  import dnnlib.tflib
label_desc: Use image node_id 9 for calling a global function with example usage: conv2d(x, fmaps, kernel) and returns: tf