Port hardsigmoid to structured (#57622)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/57622
Test Plan: Imported from OSS
Reviewed By: VitalyFedyunin
Differential Revision: D28224704
Pulled By: ezyang
fbshipit-source-id: 3feea6d87f2de4da5ae1f973a53ee136957ec807