im not sure of the validity, but i did find a few sources online that suggested cooking destroys thiaminase, but then the nutritional value also goes down.
i feed shrimp on more of a treat basis when i also want to eat shrimp so im not overly concerned with thiaminase.