code: def bias_variable(shape):
      """bias_variable generates a bias variable of a given shape."""
      initial = tf.constant(0.1, shape=shape)
      return tf.Variable(initial)
  
file_path: nni/examples/trials/mnist-tfv1/mnist.py
imports: import argparse
  import logging
  import math
  import tempfile
  import time
  import tensorflow
  from tensorflow.examples.tutorials.mnist import input_data
  import nni
label_desc: Use image node_id 4 for calling a global function with example usage: bias_variable(shape) and returns: tf