neural machine gradient tensor embedding