HF RL Explorer

fix(networks): AffineHead follows the module's dtype, not just device

fix(networks): AffineHead follows the module's dtype, not just device: a task in life-science-SWE1.0 (Harbor dataset). Title: fix(networks): AffineHead follows the module's dtype, not just device

The task

**Title:** fix(networks): AffineHead follows the module's dtype, not just device

Part of scalingX/life-science-SWE1.0.