Struct FilterDetectionStageInterfaceProxy

(Latest Version)
struct FilterDetectionStageInterfaceProxy

Interface proxy, used to insulate python bindings.

Public Static Functions

static std::shared_ptr<mrc::segment::Object<FilterDetectionsStage>> init(mrc::segment::Builder &builder, const std::string &name, float threshold, bool copy, FilterSource filter_source, std::string field_name)

Create and initialize a FilterDetectionStage, and return the result.

Parameters
  • builder – : Pipeline context object reference

  • name – : Name of a stage reference

  • threshold – : Threshold to classify

  • copy – : Whether or not to perform a copy default=true

  • filter_source – : Indicate if the values used for filtering exist in either an output tensor (FilterSource::TENSOR) or a column in a Dataframe (FilterSource::DATAFRAME).

  • field_name – : Name of the tensor or Dataframe column to filter on default=”probs”

Returns

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

© Copyright 2023, NVIDIA. Last updated on Apr 11, 2023.