Deep-learning-assisted intelligent design of terahertz hybrid-functional metasurfaces with freeform patterns | Synapse