code: def _get_variable(
      variable_dict, name, shape, initializer=None, dtype=tf.float32
  ):
      if name not in variable_dict:
          variable_dict[name] = tf.get_variable(
              name=name,
              shape=shape,
              initializer=initializer,
              dtype=dtype,
          )
      return variable_dict[name]
  
file_path: nni/examples/trials/ga_squad/attention.py
imports: import math
  import tensorflow
  from tensorflow.python.ops.rnn_cell_impl import RNNCell
label_desc: Use image node_id 1 for calling a global function with example usage: _get_variable(variable_dict, name, shape, initializer, dtype) and returns: variable_dict