code: def conv1d(x, scope, nf, *, w_init_stdev=0.02):
      with tf.compat.v1.variable_scope(scope):
          *start, nx = shape_list(x)
          w = tf.compat.v1.get_variable(
              "w",
              [1, nx, nf],
              initializer=tf.compat.v1.random_normal_initializer(
                  stddev=w_init_stdev
              ),
          )
          b = tf.compat.v1.get_variable(
              "b",
              [nf],
              initializer=tf.compat.v1.constant_initializer(0),
          )
          c = tf.reshape(
              tf.matmul(
                  tf.reshape(x, [-1, nx]), tf.reshape(w, [-1, nf])
              )
              + b,
              start + [nf],
          )
          return c
  
imports: import numpy
  import tensorflow
label_desc: Use image node_id 8 for calling a global function with example usage: conv1d(x, scope, nf) and returns: c