In Bagavat gita verses, 14.3 and 14.4, Krishna says mula prakriti is His womb and He (Brahmam) is the father laying seed, (in mula prakriti) for the creation of all beings. This indicates He is both male and female.
Then why Brahmam is mentioned as male?. It is said all other atmas are female. (This is with the understanding that Narayanan is Brahmam).
Alwars sung the pasurams with நாயிகா பாவம். Are there any one who sung with நாயகர் பாவம்.