I am using caffe parser and my library version is TensorRT 4.0. I want to print input/output shape of each layer with C++ API, like
layer1_input → (N1, C1, W1, H1)
layer1_output → (N2, C2, W2, H2)
…
How can I do that?
I am using caffe parser and my library version is TensorRT 4.0. I want to print input/output shape of each layer with C++ API, like
layer1_input → (N1, C1, W1, H1)
layer1_output → (N2, C2, W2, H2)
…
How can I do that?
Hello,
Iterate over the layers in INetworkDefinition using getNbLayers() / getLayer(), then call