#
# 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: DetectionLayer_TRT
interface: "IPluginV2Ext"
versions:
  "1":
    attributes:
      - num_classes
      - keep_topk
      - score_threshold
      - iou_threshold
    attribute_types:
      num_classes: int32
      keep_topk: int32
      score_threshold: float32
      iou_threshold: float32
    attribute_length:
      num_classes: 1
      keep_topk: 1
      score_threshold: 1
      iou_threshold: 1
    attribute_options:
      num_classes:
        min: "0"
        max: "=pinf"
      keep_topk:
        min: "0"
        max: "=pinf"
      score_threshold:
        min: "=0"
        max: "=pinf"
      iou_threshold:
        min: "0"
        max: "=pinf"
    attributes_required:
      - num_classes
      - keep_topk
      - score_threshold
      - iou_threshold
...
