Medial Code Documentation
Loading...
Searching...
No Matches
Static Public Member Functions
LightGBM::PipelineReader Class Reference

A pipeline file reader, use 2 threads, one read block from file, the other process the block. More...

#include <pipeline_reader.h>

Static Public Member Functions

static size_t Read (const char *filename, int skip_bytes, const std::function< size_t(const char *, size_t)> &process_fun)
 Read data from a file, use pipeline methods.
 

Detailed Description

A pipeline file reader, use 2 threads, one read block from file, the other process the block.

Member Function Documentation

◆ Read()

static size_t LightGBM::PipelineReader::Read ( const char *  filename,
int  skip_bytes,
const std::function< size_t(const char *, size_t)> &  process_fun 
)
inlinestatic

Read data from a file, use pipeline methods.

Parameters
filenameFilename of data \process_fun Process function

The documentation for this class was generated from the following file: