{'fraction_non_alphanumeric': 0.015399422521655439, 'fraction_numerical': 0.0019249278152069298, 'mean_word_length': 5.97986577181208, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Terahertz applications of diffractive optical networks

We introduce a physical mechanism to perform machine learning by demonstrating a Diffractive Deep Neural Network (D2NN) architecture that can all-optically implement various functions following the deep learning-based design of passive layers that work collectively. We created 3D-printed diffractive networks that implement all-optical classification of images of handwritten digits and fashion products as well as the function of an imaging lens, spectral filters and wavelength demultiplexers at terahertz part of the spectrum. This passive diffractive network framework is broadly applicable to different parts of the electromagnetic spectrum, and can perform at the speed of light various complex functions that computer-based neural networks can implement, and will find applications in all-optical image analysis, feature detection and object classification, also enabling new camera designs and optical components that perform unique tasks using diffractive optical networks.