class InferenceEngine::ExperimentalDetectronGenerateProposalsSingleImageLayer

Overview

This class represents an onnx ExperimentalDetectronGenerateProposalsSingleImage Layer. More…

#include <ie_layers.h>

class ExperimentalDetectronGenerateProposalsSingleImageLayer: public InferenceEngine::CNNLayer
{
public:
    // fields

    float min_size = 0.f;
    float nms_threshold = 0.7f;
    int pre_nms_topn = 1000;
    int post_nms_topn = 1000;

    // methods

    CNNLayer(const LayerParams& prms);
    CNNLayer(const CNNLayer& other);
};

Inherited Members

public:
    // typedefs

    typedef std::shared_ptr<CNNLayer> Ptr;

    // fields

    std::string name;
    std::string type;
    Precision precision;
    std::vector<DataPtr> outData;
    std::vector<DataWeakPtr> insData;
    Ptr _fusedWith;
    UserValue userValue;
    std::string affinity;
    std::map<std::string, std::string> params;
    std::map<std::string, Blob::Ptr> blobs;

    // methods

    std::shared_ptr<ngraph::Node> getNode() const;
    void fuse(Ptr& layer);
    virtual const DataPtr input() const;
    void parseParams();
    float GetParamAsFloat(const char \* param, float def) const;
    float GetParamAsFloat(const char \* param) const;
    std::vector<float> GetParamAsFloats(const char \* param, std::vector<float> def) const;
    std::vector<float> GetParamAsFloats(const char \* param) const;
    int GetParamAsInt(const char \* param, int def) const;
    int GetParamAsInt(const char \* param) const;
    std::vector<int> GetParamAsInts(const char \* param, std::vector<int> def) const;
    std::vector<int> GetParamAsInts(const char \* param) const;
    unsigned int GetParamAsUInt(const char \* param, unsigned int def) const;
    unsigned int GetParamAsUInt(const char \* param) const;
    size_t GetParamAsSizeT(const char \* param, size_t def) const;
    size_t GetParamAsSizeT(const char \* param) const;

    std::vector<unsigned int> GetParamAsUInts(
        const char \* param,
        std::vector<unsigned int> def
        ) const;

    std::vector<unsigned int> GetParamAsUInts(const char \* param) const;
    bool GetParamAsBool(const char \* param, bool def) const;
    bool GetParamAsBool(const char \* param) const;
    std::string GetParamAsString(const char \* param, const char \* def) const;
    bool CheckParamPresence(const char \* param) const;
    std::string GetParamAsString(const char \* param) const;
    std::string getBoolStrParamAsIntStr(const char \* param) const;

    std::vector<std::string> GetParamAsStrings(
        const char \* param,
        std::vector<std::string> def
        ) const;

    static float ie_parse_float(const std::string& str);
    static std::string ie_serialize_float(float value);

Detailed Documentation

This class represents an onnx ExperimentalDetectronGenerateProposalsSingleImage Layer.

Fields

float min_size = 0.f

Minimium width and height for boxes.

float nms_threshold = 0.7f

Non max suppression threshold.

int pre_nms_topn = 1000

Maximum number of anchors selected before nms.

int post_nms_topn = 1000

Maximum number of anchors selected after nms.

Methods

CNNLayer(const LayerParams& prms)

Creates a new ExperimentalDetectronGenerateProposalsSingleImage instance.

CNNLayer(const CNNLayer& other)

Creates a new ExperimentalDetectronGenerateProposalsSingleImage instance.