No sex parts on those cyathia. So it could be either, both or none.
Here's a flowering Euphorbia on the patio with male and female parts present.
The glands (with nectar evident) are yellow, and all the sex parts lie inside them.
In the photo the female parts are red(dish), the male parts yellowish. Female parts come out of the center of the cyathium, sometimes sitting on top of a big round ovary, and have 3-fold symmetry (sometimes looking more like 6 fold). Male parts come from all around, looking like little sticks with 2 yellow balls each on top. The male parts tend to blow away in the wind and do not necessarily stay attached to the cyathium for very long.
The presence or absence of male or female parts alone is not any way to exclude hermaphrodites (provided it's a species where that is a possibility) as they may appear at different times or in different flowers on the same plant. The species that have distinct sexes (male and female plants) are dioecious (the phenomenon called dioecy).
Male and female Euphorbias (a mating pair)
Male (these plants are actually hermaphrodites but do not necessarily produce male and female parts at the same time)
Female and male parts appear separately on this hermaphrodite
Fruit (made by females and hemaphrodites)
Male plant walking on the wild side