pytorch / TensorRT

PyTorch/TorchScript/FX compiler for NVIDIA GPUs using TensorRT
https://pytorch.org/TensorRT
BSD 3-Clause "New" or "Revised" License
2.54k stars 349 forks source link

fix unsqueeze cannot work on more than 1 dynamic_shape dimensions #2933

Closed lanluo-nvidia closed 3 months ago

lanluo-nvidia commented 3 months ago

Description

Fixes # (issue) https://github.com/pytorch/TensorRT/issues/2916 unsqueeze cannot support more than 1 dynamic dimensions

Type of change

Please delete options that are not relevant and/or add your own.