Struct AddClassificationStageInterfaceProxy

struct AddClassificationStageInterfaceProxy

Interface proxy, used to insulate python bindings.

Public Static Functions

static std::shared_ptr<mrc::segment::Object<AddClassificationsStage>> init(mrc::segment::Builder &builder, const std::string &name, float threshold, std::size_t num_class_labels, std::map<std::size_t, std::string> idx2label)

Create and initialize a AddClassificationStage, and return the result.

Parameters
  • builder – : Pipeline context object reference

  • name – : Name of a stage reference

  • threshold – : Threshold to consider true/false for each class

  • num_class_labels – : Number of classification labels

  • idx2label – : Index to classification labels map

Returns

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

© Copyright 2023, NVIDIA. Last updated on Feb 3, 2023.