code: def image(
      w,
      h=None,
      batch=None,
      sd=None,
      decorrelate=True,
      fft=True,
      alpha=False,
      channels=None,
  ):
      h = h or w
      batch = batch or 1
      ch = channels or (4 if alpha else 3)
      shape = [batch, h, w, ch]
      param_f = fft_image if fft else pixel_image
      t = param_f(shape, sd=sd)
      if channels:
          output = tf.nn.sigmoid(t)
      else:
          output = to_valid_rgb(
              t[..., :3], decorrelate=decorrelate, sigmoid=True
          )
          if alpha:
              a = tf.nn.sigmoid(t[..., 3:])
              output = tf.concat([output, a], -1)
      return output
  
imports: import tensorflow
  from lucid.optvis.param.color import to_valid_rgb
  from lucid.optvis.param.spatial import pixel_image, fft_image
label_desc: Use image node_id 1 for calling a global function with example usage: image(w, h, batch, sd, decorrelate, fft, alpha, channels) and returns: output