How can i visualize a CNN's architecture in this way?

Hello everyone, i am kind of new to machine learning and deep learning. I am building a stacked CNN model where my aim is to classify environmental sounds. I would want to know how can i visualize my cnn model like the image I have provided above. Like is there any library which can help me build this type of visualization?

https://preview.redd.it/78xx1hjpb8vc1.png?width=2880&format=png&auto=webp&s=22458d8755439d4c00cf26ae7a06359fd74f3d45