Torch: Fix more errors

Signed-off-by: Chintan Shah <cgintan1998@gmail.com>