Deep-Learning Assisted Control of Optical Phased Array: A Case Study