There is very common usage:
a = a.squeeze(dim=0)
this op export to onnx, can not convert to tensorrt since tensorrt doesn’t support operation on the first dimension.
Does there anyway to make it done?