fix depth opt arg in totensor
Merge pull request #1 from jonathantompson/depth_fix

fix depth opt arg in totensor