Abstract The rapid development of artificial intelligence has stimulated the interest in novel designs photonic neural networks. As three-dimensional (3D) networks, diffractive networks (DNNs) relying on phenomena light, demonstrated their superb performance direct parallel processing two-dimensional (2D) optical data at speed light. Despite outstanding achievements, DNNs utilize centimeter-sca...