Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT._pythonization._ml_dataloader.FormattedLoader Class Reference

Iterable that converts each batch to the requested format.

Returned by the as_torch / as_numpy / as_tensorflow methods on RDataLoader.

Definition at line 573 of file _ml_dataloader.py.

Public Member Functions

 __init__ (self, _RDataLoader internal, Callable conversion_fn, bool is_training)
 
 __iter__ (self)
 

Protected Member Functions

 _make_gen (self)
 

Protected Attributes

 _conversion_fn
 
 _internal
 
 _is_training
 

Constructor & Destructor Documentation

◆ __init__()

ROOT._pythonization._ml_dataloader.FormattedLoader.__init__ ( self,
_RDataLoader internal,
Callable conversion_fn,
bool is_training )

Definition at line 580 of file _ml_dataloader.py.

Member Function Documentation

◆ __iter__()

ROOT._pythonization._ml_dataloader.FormattedLoader.__iter__ ( self)

Definition at line 601 of file _ml_dataloader.py.

◆ _make_gen()

ROOT._pythonization._ml_dataloader.FormattedLoader._make_gen ( self)
protected

Definition at line 590 of file _ml_dataloader.py.

Member Data Documentation

◆ _conversion_fn

ROOT._pythonization._ml_dataloader.FormattedLoader._conversion_fn
protected

Definition at line 587 of file _ml_dataloader.py.

◆ _internal

ROOT._pythonization._ml_dataloader.FormattedLoader._internal
protected

Definition at line 586 of file _ml_dataloader.py.

◆ _is_training

ROOT._pythonization._ml_dataloader.FormattedLoader._is_training
protected

Definition at line 588 of file _ml_dataloader.py.


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