Layered metasurfaces trained as optical neural networks enable multifunctional holograms and security features, integrating neural computation principles with nanostructured optics to create a ...