fixed python modular warnings for neuralnets
Merge pull request #2368 from khalednasr/autoencoders

fixed python modular warnings for neuralnets