In its Uncooked frequency form, tf is simply the frequency with the "this" for every document. In Each individual document, the word "this" appears once; but because the document 2 has a lot more words and phrases, its relative frequency is lesser.epoch. Due to this a Dataset.batch applied soon after Dataset.repeat will yield batches that straddle