The Gemara Niddah (30b) says that a fetus learns its entire Torah while in the womb but then the angel hits it on the mouth to forget everything it learned.
ומלמדין אותו כל התורה כולה שנאמר (משלי ד ד) ויורני ויאמר לי יתמך דברי לבך שמור מצותי וחיה ואומר (איוב כט, ד) בסוד אלוה עלי אהלי מאי ואומר וכי תימא נביא הוא דקאמר ת"ש בסוד אלוה עלי אהלי וכיון שבא לאויר העולם בא מלאך וסטרו על פיו ומשכחו כל התורה כולה שנאמר (בראשית ד, ז) לפתח חטאת רובץ - A fetus is taught the entire Torah while in the womb, as it is says, “And He taught me and said, 'Let your heart hold fast My words; keep My commandments, and live.'” (Mishlei 4:4). And it also states: “As I was in the days of my youth, when the converse of G-d was upon my tent” (Iyov 29:4). What is the purpose of the statement: And it also states: “When the converse of God was upon my tent”? Why is it necessary to cite this verse in addition to the previously quoted verse from Mishlei? The Gemara explains: And if you would say that the verse in Mishlei is insufficient, as it is a prophet who is saying that he was taught the entire Torah in his mother’s womb, but this does not apply to ordinary people, come and hear the verse in Iyov: “When the converse of G-d was upon my tent.” And once the fetus emerges into the airspace of the world, an angel comes and slaps it on its mouth, causing it to forget the entire Torah, as it is stated: “Sin crouches at the entrance” (Bereishis 4:7), i.e., when a person enters the world he is immediately liable to sin due to his loss of Torah knowledge.
At the same time, the Gemara Horayos (13b) says to frequently eat olive oil to regain the Torah once learned.
הרגיל בשמן זית מסייע ליה לרבי יוחנן דאמר רבי יוחנן כשם שהזית משכח לימוד של שבעים שנה כך שמן זית משיב לימוד של שבעים שנה - One who is accustomed to eating olive oil restores forgotten Torah study. This supports the opinion of Rabbi Yochanan, as Rabbi Yochanan said: Just as eating an olive causes one to forget seventy years’ worth of Torah study, olive oil restores seventy years’ worth of Torah study.
Does anyone suggest this as a solution to recover all the Torah learned in the womb? If not, what is the incorrect premise of this question? (e.g., Is learning Torah in the womb not called learning Torah?)