Struct FileSourceStageInterfaceProxy

struct FileSourceStageInterfaceProxy

Interface proxy, used to insulate python bindings.

Public Static Functions

static std::shared_ptr<mrc::segment::Object<FileSourceStage>> init(mrc::segment::Builder &builder, const std::string &name, std::string filename, int repeat = 1, pybind11::dict parser_kwargs = pybind11::dict())

Create and initialize a FileSourceStage, and return the result.

Parameters
  • builder – : Pipeline context object reference

  • name – : Name of a stage reference

  • filename – : Name of the file from which the messages will be read.

  • repeat – : Repeats the input dataset multiple times. Useful to extend small datasets for debugging.

  • parser_kwargs – : Optional arguments to pass to the file parser.

Returns

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

static std::shared_ptr<mrc::segment::Object<FileSourceStage>> init(mrc::segment::Builder &builder, const std::string &name, std::filesystem::path filename, int repeat = 1, pybind11::dict parser_kwargs = pybind11::dict())

Previous Struct FiberQueueInterfaceProxy
Next Struct FilterDetectionStageInterfaceProxy
© Copyright 2024, NVIDIA. Last updated on Apr 25, 2024.