Even if you start a program to train people because the current pipeline is inadequate, how do you do you achieve a specific ratio of men to women without being willfully discriminatory.
Admission criteria should be blind to protected characteristics like gender and race.
So instead of whiteboard hazing, companies like Google could open up some positions to anyone interested (not just those with relevant degrees or experience), filter with a quick IQ test (or https://en.wikipedia.org/wiki/Wonderlic_test), and if the person passes a threshold, welcome them aboard and start training. There's no pipeline issues now, the only thing that could account for a non-50% split of male and female applicants is an average difference of interest, wherever that comes from.