Doc fix about tensorinv.

The output shape documented isn't good.
If you want confirmation, look at the examples. around line 420. It print the output shape.