gensim.corpora.ShardedCorpus.in_current

ShardedCorpus.in_current(offset)[source]

Determine whether the given offset falls within the current shard.