Torch: AST translations

Change-Id: I0c8884df794f7f9ae8201f53853db1048d1118be