Class AddScoresStageBase#
- Defined in File add_scores_stage_base.hpp 
Inheritance Relationships#
Base Type#
- public mrc::pymrc::PythonNode< std::shared_ptr< ControlMessage >, std::shared_ptr< ControlMessage > >
Derived Types#
- public morpheus::AddClassificationsStage(Class AddClassificationsStage)
- public morpheus::AddScoresStage(Class AddScoresStage)
Class Documentation#
- 
class AddScoresStageBase : public mrc::pymrc::PythonNode<std::shared_ptr<ControlMessage>, std::shared_ptr<ControlMessage>>#
- Base class for both - AddScoresStageand- AddClassificationStage- Subclassed by morpheus::AddClassificationsStage, morpheus::AddScoresStage - Public Types - 
using base_t = mrc::pymrc::PythonNode<std::shared_ptr<ControlMessage>, std::shared_ptr<ControlMessage>>#
 - Public Functions - AddScoresStageBase(
- std::map<std::size_t, std::string> idx2label,
- std::optional<float> threshold
- Construct a new Add Classifications Stage object. - Parameters:
- threshold – : Threshold to consider true/false for each class 
- idx2label – : Index to classification labels map 
 
 
 
 - 
source_type_t on_data(sink_type_t msg)#
- Called every time a message is passed to this stage 
 
- 
using base_t = mrc::pymrc::PythonNode<std::shared_ptr<ControlMessage>, std::shared_ptr<ControlMessage>>#