No, of course not.

Weed lowers sperm count (not dramatically), but it doesn't cause fertility or impotence.

Besides, there are lots of guys who get rock hard (or so I hear) when they're high...