TensorNetwork for Machine Learning