class_docstr: Solves a linear equation y=ax+b for either y or x.
  
  The line equation is defined with two points (x1, y1) and (x2,y2)
class_docstr_tok: ["Solves","a","linear","equation","y=ax+b","for","either","y","or","x",".","The","line","equation","is","defined","with","two","points","(","x1",",","y1",")","and","(","x2",",","y2",")"]
code: def __init__(self, x1, y1, x2, y2):
      self.x1 = x1
      self.y1 = y1
      self.x2 = x2
      self.y2 = y2
  
      # Writing params for y=ax+b
      self.a = (y2 - y1) / tf.maximum(x2 - x1, 0.001)
      self.b = y1 - x1 * ((y2 - y1) / tf.maximum(x2 - x1, 0.001))
  
imports: import abc
  import six
  import tensorflow
  from tensorflow.python.ops import clustering_ops
  from tensorflow_model_optimization.python.core.clustering.keras import cluster_config
label_desc: Use image node_id 1 to create a new TFLinearEquationSolver object  with example: obj = TFLinearEquationSolver(x1, y1, x2, y2)