Deep learning method in testing the cosmic distance duality relation