From my experience, in a big tech corporation, there are two major issues:
1. Women starting out (fresh out of college) don't appear to want to be software engineers, yet do it to pivot to another job.
2. They decide to have children, which often means they leave work for a time, and decide never to come back (although the offers are there)
Everyone should take diversity seriously, but I am curious if you have any hard stats on why women leave in the first place? That'll actually allow this problem to be solved.