6 #ifndef TURI_ML2_DATA_BLOCK_ITERATOR_H_ 7 #define TURI_ML2_DATA_BLOCK_ITERATOR_H_ 9 #include <toolkits/ml_data_2/iterators/ml_data_iterator.hpp> 12 namespace turi {
namespace v2 {
39 void internal_setup(
const std::map<std::string, flexible_type>& options);
45 return current_row_is_start_of_new_block;
57 current_row_is_start_of_new_block =
false;
68 current_row_is_start_of_new_block = (current_entry != old_entry);
71 current_row_is_start_of_new_block =
true;
92 && current_row_is_start_of_new_block));
99 bool current_row_is_start_of_new_block;
void advance_row() GL_HOT_INLINE_FLATTEN
size_t iter_row_index_end
ml_data_internal::entry_value _raw_row_entry(size_t raw_index) const GL_HOT_INLINE_FLATTEN
#define GL_HOT_INLINE_FLATTEN
bool done() const GL_HOT_INLINE_FLATTEN
const ml_data_block_iterator & operator++() GL_HOT_INLINE_FLATTEN
bool is_start_of_new_block() const