There is nothing under the petals of this flower, no small melon, no bulge, and it will wither and fall off after the flowering period. It is the male flower.
Distinguish the male flower from the female flower, and you can also look at its stamens. Some of the stamens look like cylinders, which are thicker, that is, female flowers.
The stamen in the middle of the petals has a lot of pollen, and the slightly thinner one is the male flower. These all need to be carefully looked at to see. Therefore, the first method is recommended for identification.