Provides functionality to iterate across a list of tensors where some of those tensors represent lengths in a hierarchical structure. More...
#include <dataset_ops.h>
Data Structures | |
struct | FieldDesc |
Public Member Functions | |
TreeIterator (const std::vector< std::string > &fields) | |
void | advance (const std::vector< const TLength * > &lengths, std::vector< TOffset > &offsets, std::vector< TOffset > &sizes, std::vector< TOffset > &limits, TOffset num) |
int | numLengthFields () const |
int | numOffsetFields () const |
const FieldDesc * | lengthFieldFor (const FieldDesc &desc) |
const FieldDesc & | lengthField (int lengthFieldId) |
int | offsetFieldIdFor (const FieldDesc &fieldDesc) |
const std::vector< FieldDesc > & | fields () |
const std::vector< int > & | lengthFieldIds () const |
Provides functionality to iterate across a list of tensors where some of those tensors represent lengths in a hierarchical structure.
Definition at line 24 of file dataset_ops.h.