def __init__(self): """ Creates a new solver instance. """ # TensorFlow function self.solve = tf.make_template(name_='solver', func_=self.tf_solve)