BucketIterator

class BucketIterator(data: List[Dict[str, transformers.tokenization_utils_base.BatchEncoding]], batch_size: int, sort_key: str = 'text_indices', shuffle=True, sort=True)[source]

Iterator class for use with non-bert version of SenticGCN.