def METHOD_NAME(specs, batch_size):
  def create_variable(spec):
    return common.create_variable(
        name=spec.name,
        dtype=spec.dtype,
        shape=[batch_size] + spec.shape.as_list(),
    )
  return tf.nest.map_structure(create_variable, specs)