Am trying to export pytorch network to ONNX and then onnx to tensorrt for faster inferencing , but i need to get the output of layer(avg_pool) prior to final softmax layer o