Skip to content

Commit

Permalink
[TRT] Disable out-dated TRT PadV2 Plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
doxutx committed Aug 6, 2024
1 parent 1d535ec commit c828a4b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ ILayer* PadV2TRTPluginLayerBuilder::AddToNetwork(INetworkDefinition* network) no
return nullptr;
}

if (!UseTRTPaddingND(paramlist)) {
return TensorRTPluginLayerBuilder::AddToNetwork(network);
}
//if (!UseTRTPaddingND(paramlist)) {
// return TensorRTPluginLayerBuilder::AddToNetwork(network);
//}

auto input_foreign_tensor = dynamic_cast<ForeignBlob*>(input_blobs_[0])->GetForeignTensor();
auto input_tensor = std::dynamic_pointer_cast<TensorRTTensor>(input_foreign_tensor)->GetTensor();
Expand Down

0 comments on commit c828a4b

Please sign in to comment.