The concept of smart photonics rely on applying the advanced machine learning algorithm to the photonic system to enable additional functionalities to the existing system leading towards an optimized solution. This approach of encoding photonics expertise into alogirthm and interfacing with machine-learning paves the way for smart optical technologies.