Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RBatchSink.hxx File Reference
#include <cstddef>
#include <memory>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for RBatchSink.hxx:
This graph shows which files directly or indirectly include this file:

Classes

class  ROOT::Experimental::Internal::ML::RBatchSink
 Writes RFlat2DMatrix batches to disk letting RDataLoaderEngine::Save() stay agnostic to the output format. More...
 
struct  ROOT::Experimental::Internal::ML::RColumnLayout
 Where one of the loader's columns lives inside a batch-tensor row and how it's shaped. More...
 
class  ROOT::Experimental::Internal::ML::RNTupleBatchSink
 Writes batches into an RNTuple, as one float field per scalar column and one std::vector<float> field per vector column. More...
 
class  ROOT::Experimental::Internal::ML::RTTreeBatchSink
 Writes batches into a TTree, as one float leaf per scalar column and one std::vector<float> branch per vector column, matching the RNTuple sink's schema. More...
 

Namespaces

namespace  ROOT
 
namespace  ROOT::Experimental
 Namespace for ROOT features in testing.
 
namespace  ROOT::Experimental::Internal
 
namespace  ROOT::Experimental::Internal::ML
 

Functions

std::unique_ptr< RBatchSinkROOT::Experimental::Internal::ML::CreateBatchSink (std::string_view dataset_name, std::string_view filename, std::vector< RColumnLayout > layout, std::string_view format)
 Create the sink matching format.