Struct AddScoresStageInterfaceProxy#

Struct Documentation#

struct AddScoresStageInterfaceProxy#

Interface proxy, used to insulate python bindings.

Public Static Functions

static std::shared_ptr<mrc::segment::Object<AddScoresStage>> init(
mrc::segment::Builder &builder,
const std::string &name,
std::map<std::size_t, std::string> idx2label
)#

Create and initialize a AddScoresStage that receives ControlMessage and emits ControlMessage, and return the result.

Parameters:
  • builder – : Pipeline context object reference

  • name – : Name of a stage reference

  • num_class_labels – : Number of classification labels

  • idx2label – : Index to classification labels map

Returns:

std::shared_ptr<mrc::segment::Object<AddScoresStage>>>