Struct FileSourceStageInterfaceProxy
Defined in File file_source.hpp
-
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)
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.
- 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::string filename, int repeat = 1)