debugging tensorstuff.