Struct PreprocessFILStageInterfaceProxy

struct PreprocessFILStageInterfaceProxy

Interface proxy, used to insulate python bindings.

Public Static Functions

static std::shared_ptr<mrc::segment::Object<PreprocessFILStage<MultiMessage, MultiInferenceMessage>>> init_multi(mrc::segment::Builder &builder, const std::string &name, const std::vector<std::string> &features)

Create and initialize a PreprocessFILStage that receives MultiMessage and emits MultiInferenceMessage, and return the result.

Parameters
  • builder – : Pipeline context object reference

  • name – : Name of a stage reference

  • features – : Reference to the features that are required for model inference

Returns

std::shared_ptr<mrc::segment::Object<PreprocessFILStage<MultiMessage, MultiInferenceMessage>>>

static std::shared_ptr<mrc::segment::Object<PreprocessFILStage<ControlMessage, ControlMessage>>> init_cm(mrc::segment::Builder &builder, const std::string &name, const std::vector<std::string> &features)

Create and initialize a PreprocessFILStage, and return the result.

Parameters
  • builder – : Pipeline context object reference

  • name – : Name of a stage reference

  • features – : Reference to the features that are required for model inference

Returns

std::shared_ptr<mrc::segment::Object<PreprocessFILStage<ControlMessage, ControlMessage>>>

Previous Template Struct PreallocateStageInterfaceProxy
Next Struct PreprocessNLPStageInterfaceProxy
© Copyright 2024, NVIDIA. Last updated on Apr 25, 2024.