参考代码:
layer = network->getLayer(i);
https://codeleading.com/article/6074265133/
nvinfer1::ILayer
https://www.ccoderun.ca/programming/doxygen/tensorrt/classnvinfer1_1_1IScaleLayer.html
各网络层对应的编号:
搜索LayerType
https://docs.nvidia.com/deeplearning/tensorrt/api/c_api/_nv_infer_8h.html