Reminds me of Ramanujan learning during sleep from Namagiri.
There are umpteen stories in Hindu scriptures of baby learning in the womb of the mother and how the expecting mother must only be exposed to good thoughts and a good environment for giving birth to an intelligent and well rounded child: stories of Abhimanyu (learning how to break the Chakravyuha formation in his womb while mother was learning it but his learning was incomplete when mother fell asleep during the lecture) and Prahlada (mother learning about Lord Vishnu against the wishes of her demon husband Hiranyakashyapu). Wonder if any studies have been done on this as well.