add torch support to hammerhead

Change-Id: Ibf882e754dbc908547689f9cb857e5ba96822ce5