Files
openvino/docs/ops/sort/ExperimentalDetectronTopKROIs_6.md
T
Anton Chetverikov 6b62f67d44 Add specifications for ExperimentalDetectron* operations (#4584)
* Add specification for ExperimentalDetectronROIFeatureExtractor-6 operation

* Add specification for ExperimentalDetectronROIFeatureExtractor-6 operation

* Delete template added by mistake

* Add specification for ExperimentalDetectronTopKROIs_6 operation

* Update specification

* Update specification

* Add specification for ExperimentalDetectronDetectionOutput_6 operation

* Add specifaication for ExperimentalDetectronGenerateProposalsSingleImage_6 operation

* Add specification for ExperimentalDetectronPriorGridGenerator_6 operation

* Allign attr? add more detailed information

* Provide detailed description for ExperimentalDetectronTopKROIs_6 operation

* Minor style updates

* Update specifications

* Add more details to operation specification

* Update operations categories

* Move operations specifications to detection folder

* Update specifications

* Add operations to appopriate lists

* Update specs

* Update operations list

* Add more detailed decsriptions to operations specification

* Add more details to operations descriptions

* Apply review comments

* Apply review comments

* Update specifications

* Delete outdated comments in experimental operations headers

* Update specifications

* Apply review feedback

* Move back comments in operations headers

* Apply review comments

* Fix typo

* Fix codestyle

* Fix typo
2021-03-26 06:49:37 +03:00

1.9 KiB

ExperimentalDetectronTopKROIs

Versioned name: ExperimentalDetectronTopKROIs-6

Category: Sort

Short description: An operation ExperimentalDetectronTopKROIs is TopK operation applied to probabilities of input ROIs.

Detailed description: Operation performs probabilities descending sorting for input ROIs and returns max_rois number of ROIs. Order of sorted ROIs with equal probabilities is undefined. If number of ROIs is less than max_rois then operation returns all ROIs descended sorted and the output tensor is filled with undefined values for rest output tensor elements.

Attributes:

  • max_rois

    • Description: max_rois attribute specifies maximal numbers of output ROIs.
    • Range of values: non-negative integer number
    • Type: int
    • Default value: 0
    • Required: no

Inputs

  • 1: A 2D tensor of type T with shape [number_of_ROIs, 4] describing the ROIs as 4-tuples: [x1, y1, x2, y2]. Required.

  • 2: A 1D tensor of type T with shape [number_of_input_ROIs] contains probabilities for input ROIs. Required.

Outputs

  • 1: A 2D tensor of type T with shape [max_rois, 4] describing max_rois ROIs with highest probabilities.

Types

  • T: any supported floating point type.

Example

<layer ... type="ExperimentalDetectronTopKROIs" version="opset6">
    <data max_rois="1000"/>
    <input>
        <port id="0">
            <dim>5000</dim>
            <dim>4</dim>
        </port>
        <port id="1">
            <dim>5000</dim>
        </port>
    </input>
    <output>
        <port id="2" precision="FP32">
            <dim>1000</dim>
            <dim>4</dim>
        </port>
    </output>
</layer>