Python Tensor To Numpy Array Shape