n> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/pkg/tfdatasets/man/iterator_get_next.html'>iterator_get_next</a></span>(<span class='no'>iterator</span>)

<span class='fu'><a href='https://rdrr.io/pkg/tfdatasets/man/until_out_of_range.html'>until_out_of_range</a></span>({
  <span class='no'>batch</span> <span class='kw'>&lt;-</span> <span class='no'>sess</span>$<span class='fu'>run</span>(<span class='no'>next_batch</span>)
  <span class='fu'><a href='https://rdrr.io/r/base/print.