How To Run Tensor In Python