(Latest Version)

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)

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>>

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