LBANN  0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
DataReaderHDF5WhiteboxTester Class Reference

#include <data_reader_common_HDF5_test_utils.hpp>

Public Member Functions

void normalize (lbann::hdf5_data_reader &x, conduit::Node &node, const std::string &path, const conduit::Node &metadata)
 
void repack_image (lbann::hdf5_data_reader &x, conduit::Node &node, const std::string &path, const conduit::Node &metadata)
 
void pack (lbann::hdf5_data_reader &x, conduit::Node &node, size_t index)
 
void parse_schemas (lbann::hdf5_data_reader &x)
 
conduit::Node & get_data_schema (lbann::hdf5_data_reader &x)
 
conduit::Node & get_experiment_schema (lbann::hdf5_data_reader &x)
 
void set_data_schema (lbann::hdf5_data_reader &x, const conduit::Node &s)
 
void set_experiment_schema (lbann::hdf5_data_reader &x, const conduit::Node &s)
 
void load_sample (lbann::hdf5_data_reader &x, conduit::Node &node, hid_t file_handle, const std::string &sample_name)
 
void print_metadata (lbann::hdf5_data_reader &x, std::ostream &os=std::cout)
 
void set_delete_packed_fields (lbann::hdf5_data_reader &x, const bool flag)
 
bool fetch_data_field (lbann::hdf5_data_reader &dr, lbann::data_field_type data_field, lbann::CPUMat &X, int data_id, int mb_idx)
 
bool fetch_datum (lbann::hdf5_data_reader &dr, lbann::CPUMat &X, int data_id, int mb_idx)
 
bool fetch_response (lbann::hdf5_data_reader &dr, lbann::CPUMat &X, int data_id, int mb_idx)
 
bool fetch_label (lbann::hdf5_data_reader &dr, lbann::CPUMat &X, int data_id, int mb_idx)
 
int get_linearized_size (lbann::hdf5_data_reader &dr, lbann::data_field_type const &data_field)
 
void construct_linearized_size_lookup_tables (lbann::hdf5_data_reader &dr, conduit::Node &node)
 

Detailed Description

Definition at line 35 of file data_reader_common_HDF5_test_utils.hpp.

Member Function Documentation

◆ construct_linearized_size_lookup_tables()

void DataReaderHDF5WhiteboxTester::construct_linearized_size_lookup_tables ( lbann::hdf5_data_reader dr,
conduit::Node &  node 
)
inline

Definition at line 160 of file data_reader_common_HDF5_test_utils.hpp.

Here is the call graph for this function:

◆ fetch_data_field()

bool DataReaderHDF5WhiteboxTester::fetch_data_field ( lbann::hdf5_data_reader dr,
lbann::data_field_type  data_field,
lbann::CPUMat X,
int  data_id,
int  mb_idx 
)
inline

Definition at line 98 of file data_reader_common_HDF5_test_utils.hpp.

Here is the call graph for this function:

◆ fetch_datum()

bool DataReaderHDF5WhiteboxTester::fetch_datum ( lbann::hdf5_data_reader dr,
lbann::CPUMat X,
int  data_id,
int  mb_idx 
)
inline

Definition at line 112 of file data_reader_common_HDF5_test_utils.hpp.

Here is the call graph for this function:

◆ fetch_label()

bool DataReaderHDF5WhiteboxTester::fetch_label ( lbann::hdf5_data_reader dr,
lbann::CPUMat X,
int  data_id,
int  mb_idx 
)
inline

Definition at line 140 of file data_reader_common_HDF5_test_utils.hpp.

Here is the call graph for this function:

◆ fetch_response()

bool DataReaderHDF5WhiteboxTester::fetch_response ( lbann::hdf5_data_reader dr,
lbann::CPUMat X,
int  data_id,
int  mb_idx 
)
inline

Definition at line 126 of file data_reader_common_HDF5_test_utils.hpp.

Here is the call graph for this function:

◆ get_data_schema()

conduit::Node& DataReaderHDF5WhiteboxTester::get_data_schema ( lbann::hdf5_data_reader x)
inline

Definition at line 60 of file data_reader_common_HDF5_test_utils.hpp.

◆ get_experiment_schema()

conduit::Node& DataReaderHDF5WhiteboxTester::get_experiment_schema ( lbann::hdf5_data_reader x)
inline

Definition at line 65 of file data_reader_common_HDF5_test_utils.hpp.

◆ get_linearized_size()

int DataReaderHDF5WhiteboxTester::get_linearized_size ( lbann::hdf5_data_reader dr,
lbann::data_field_type const &  data_field 
)
inline

Definition at line 154 of file data_reader_common_HDF5_test_utils.hpp.

Here is the call graph for this function:

◆ load_sample()

void DataReaderHDF5WhiteboxTester::load_sample ( lbann::hdf5_data_reader x,
conduit::Node &  node,
hid_t  file_handle,
const std::string &  sample_name 
)
inline

Definition at line 80 of file data_reader_common_HDF5_test_utils.hpp.

Here is the call graph for this function:

◆ normalize()

void DataReaderHDF5WhiteboxTester::normalize ( lbann::hdf5_data_reader x,
conduit::Node &  node,
const std::string &  path,
const conduit::Node &  metadata 
)
inline

Definition at line 38 of file data_reader_common_HDF5_test_utils.hpp.

Here is the call graph for this function:

◆ pack()

void DataReaderHDF5WhiteboxTester::pack ( lbann::hdf5_data_reader x,
conduit::Node &  node,
size_t  index 
)
inline

Definition at line 53 of file data_reader_common_HDF5_test_utils.hpp.

Here is the call graph for this function:

◆ parse_schemas()

void DataReaderHDF5WhiteboxTester::parse_schemas ( lbann::hdf5_data_reader x)
inline

Definition at line 58 of file data_reader_common_HDF5_test_utils.hpp.

Here is the call graph for this function:

◆ print_metadata()

void DataReaderHDF5WhiteboxTester::print_metadata ( lbann::hdf5_data_reader x,
std::ostream &  os = std::cout 
)
inline

Definition at line 88 of file data_reader_common_HDF5_test_utils.hpp.

Here is the call graph for this function:

◆ repack_image()

void DataReaderHDF5WhiteboxTester::repack_image ( lbann::hdf5_data_reader x,
conduit::Node &  node,
const std::string &  path,
const conduit::Node &  metadata 
)
inline

Definition at line 45 of file data_reader_common_HDF5_test_utils.hpp.

Here is the call graph for this function:

◆ set_data_schema()

void DataReaderHDF5WhiteboxTester::set_data_schema ( lbann::hdf5_data_reader x,
const conduit::Node &  s 
)
inline

Definition at line 70 of file data_reader_common_HDF5_test_utils.hpp.

Here is the call graph for this function:

◆ set_delete_packed_fields()

void DataReaderHDF5WhiteboxTester::set_delete_packed_fields ( lbann::hdf5_data_reader x,
const bool  flag 
)
inline

Definition at line 93 of file data_reader_common_HDF5_test_utils.hpp.

Here is the call graph for this function:

◆ set_experiment_schema()

void DataReaderHDF5WhiteboxTester::set_experiment_schema ( lbann::hdf5_data_reader x,
const conduit::Node &  s 
)
inline

Definition at line 75 of file data_reader_common_HDF5_test_utils.hpp.

Here is the call graph for this function:

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