NVIDIA DeepStream SDK API Reference

9.2 Release
ModelKey Struct Reference

Detailed Description

ModelKey: compound key for the accumulator map.

Ordered so std::map works without a custom comparator.

Definition at line 57 of file sources/gst-plugins/gst-nvinfereval/nvds_eval_accumulator.h.

Public Member Functions

bool operator< (const ModelKey &o) const
 
bool operator== (const ModelKey &o) const
 
bool operator< (const ModelKey &o) const
 
bool operator== (const ModelKey &o) const
 

Data Fields

std::string role
 
std::string model_name
 

Member Function Documentation

◆ operator<() [1/2]

bool ModelKey::operator< ( const ModelKey &  o) const
inline

Definition at line 62 of file sources/gst-plugins/gst-nvinfereval/nvds_eval_accumulator.h.

References model_name, and role.

◆ operator<() [2/2]

bool ModelKey::operator< ( const ModelKey &  o) const
inline

◆ operator==() [1/2]

bool ModelKey::operator== ( const ModelKey &  o) const
inline

◆ operator==() [2/2]

bool ModelKey::operator== ( const ModelKey &  o) const
inline

Definition at line 66 of file sources/gst-plugins/gst-nvinfereval/nvds_eval_accumulator.h.

References model_name, and role.

Field Documentation

◆ model_name

std::string ModelKey::model_name

◆ role

std::string ModelKey::role

The documentation for this struct was generated from the following file: