Fix optimization crash and test crash due to new gpu conv default.