reduced the execution time of the autoencoders notebook
fixed #2502
Merge pull request #2482 from khalednasr/master

reduced the execution time of the autoencoders notebook
Merge pull request #2505 from khalednasr/neuralnets_cpp_examples

fixed #2502