i don't think you can do it with much certainty, but i looked it up - the males when full grown are smaller than females but have larger barbels. if you're trying to breed them, it seems like an almost impossible thing to do in an aquarium unless it is 200++ gallons
bristlenose plecos on the other hand are easy to sex and do well with breeding.