def METHOD_NAME(var_name=None):
  with tf.Graph().as_default() as graph:
    input_val = tf.compat.v1.placeholder(tf.float32, name='input')
    var = tf.Variable(initial_value=0.0, name=var_name, import_scope='')
    assign_op = var.assign_add(tf.constant(1.0))
    out = tf.add(input_val, assign_op)
  return graph, input_val.name, out.name