# # SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # --- name: ProposalLayer_TRT interface: "IPluginV2Ext" versions: "1": attributes: - prenms_topk - keep_topk - iou_threshold - image_size attribute_types: prenms_topk: int32 keep_topk: int32 iou_threshold: float32 image_size: int32 attribute_length: prenms_topk: 1 keep_topk: 1 iou_threshold: 1 image_size: 3 attribute_options: prenms_topk: min: "0" max: "=1024" keep_topk: min: "0" max: "=pinf" iou_threshold: min: "0" max: "=pinf" image_size: min: "=3, 0, 0" max: "=3, =1024, =1024" # dims 2 & 3 are capped to avoid timeout attributes_required: - prenms_topk - keep_topk - iou_threshold ...