Skip to content

Commit 4ebfd96

Browse files
authored
Add support for DisentangledAttentionPlugin (#836)
Signed-off-by: Kevin Chen <kevinch@nvidia.com>
1 parent 5f27e45 commit 4ebfd96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ModelImporter.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,8 @@ bool ModelImporter::supportsOperator(const char* op_name) const
512512
{
513513
return false;
514514
}
515-
if (std::string(op_name) == "EfficientNMS_TRT" || std::string(op_name) == "PyramidROIAlign_TRT" || std::string(op_name) == "MultilevelCropAndResize_TRT")
515+
if (std::string(op_name) == "EfficientNMS_TRT" || std::string(op_name) == "PyramidROIAlign_TRT" || std::string(op_name) == "MultilevelCropAndResize_TRT"
516+
|| std::string(op_name) == "DisentangledAttention_TRT")
516517
{
517518
return true;
518519
}

0 commit comments

Comments
 (0)