It is largely dioecious with separate male and female plants, but some individual plants are monoecious, producing both sexes.
Dioecious plants, having separate male and female individuals, but some may be monoecious, producing both sexes.