Inputs are male; outputs are female. The cable that is
Best to flip that phrasing around to make things less confusing.
Usually, XLR inputs on gear are female and outputs on gear are male. The cables required to mate with the XLR connections on the gear will be of the opposite gender.
^
This is almost always true of XLR connections - microphones, preamps, recorders, mixing boards, outboard gear.. The gender of the connection reflects the signal flow direction.
It is not true of TRS connections, which almost always use a female connection on gear for both input and output, requiring male connectors at both ends of interconnects. So in that case the gender of the connection does not reflect the signal flow direction. A good example of this is headphones, where: female out > male in.