def METHOD_NAME(model, ratio):
  input_spec = tf.TensorSpec((1, *input_shape), tf.float32)
  runner = IterativePruningRunner(model, input_spec)
  runner.ana(evaluate)
  return runner.METHOD_NAME(ratio)