airpeter / smartglass Goto Github PK
View Code? Open in Web Editor NEWSmartGlass (SG) is a python implementation of a diffractive optical neural network. Currently, it supports training an all-optical classifier (e.g. classify hand-written digits MNIST dataset). Besides, the framework can also be used to design optics based on a task like focusing and beam steering. However, custom object functions should be defined. Besides training the optics, the SG also supports training the detectors using gradient-free optimization.
License: MIT License