Python Use Numpy Array To Tensor Trade