Repair crash with cudnn r-1 following the removing of struct_id