27 #ifndef LBANN_DATA_READER_METADATA_HPP 28 #define LBANN_DATA_READER_METADATA_HPP 33 #include "lbann_config.hpp" 37 #include <unordered_map> 56 std::unordered_map<data_reader_target_mode, std::vector<El::Int>>;
64 std::unordered_map<data_field_type, std::vector<El::Int>>;
76 std::unordered_map<slice_points_mode, std::vector<El::Int>>;
87 #ifdef LBANN_HAS_DISTCONV 90 bool shuffle_required;
91 #endif // LBANN_HAS_DISTCONV 96 #endif // LBANN_DATA_READER_METADATA_HPP
std::unordered_map< data_field_type, std::vector< El::Int > > data_field_dim_map_type
Map from data_field_type to dimension maps.
Create an iterator that goes over a contiguous (unit-step) enum class.
std::unordered_map< data_reader_target_mode, std::vector< El::Int > > TargetModeDimMap
Map from target modes to dimension maps.
std::string to_string(El::Device const &d)
std::unordered_map< slice_points_mode, std::vector< El::Int > > SPModeSlicePoints
Map from slice points modes to slice points.
slice_points_mode slice_points_mode_from_string(const std::string &m)