Photonic network-in-network with on-chip optical diffraction to enable high-order tensor inputs | Synapse