Is there any common way to check output dimensions of any layer?

I am using TensorRT 7.2.2.3 to build a network from scratch.

I found out I can use getNbOutputMaps api to get output dimensions, but i want to check
the output maps for any layer like elementwiselayer, ITensor and sort of.

Is there any way?
Thanks !

Hi,
Please check the below link, as they might answer your concerns

Thanks!