It all depends on how you plan the gym. Generally, gyms with bathrooms have relatively large dressing rooms, which are open. Then the bathroom is next to the dressing room. Toilets are generally partitioned one by one with curtains.
However, it does not rule out that many gymnasiums have no partitions in order to save costs, only shower heads and soap racks.