TensorFlow: Learning how to make a lineair algebraic network