Black Friday Sale: 20% off Premium yearly · $105.60 for the first year · until Monday, Nov 30Get it

Deep-ML
Learn
ProblemsPractice, projects, collections, and your progressLearning PathA guided route through the fundamentalsLabsInteractive labs on real techniquesProjectsBuild a GPT, an RL agent, CUDA kernelsCollectionsCurated problem sets and videosMathPen-and-paper math for MLIntuitionInvent the idea behind the formula yourselfPlaylistsYour own problem lists, shareableStudy AssistantAn AI teacher that knows your progress
Interview Prep
Compete
ContestsFresh problem sets, ranked liveLeaderboardWhere you stand, globallyBuddiesSolve with a friend: streaks, a weekly board, chat
Discuss
Deep-Path
Premium
      ← back to the problem

      Prerequisite path

      Batch Iterator for Dataset

      CodingeasyOpen goal
      Start path
      Whole map

      Dependency network

      100%
      Goal
      1 node · 0 connections

      After this goal

      • Batch a TensorDataset with DataLoader
      • Build a Dataset and Use It with a DataLoader
      • Data Mixture Sampler: Weights, Apportionment and Single-Dataset Batches
      • Million-Token Rollout Data Dispatch
      • One Iteration of PPO, Actor-Critic Style: N Actors, T-Step Segments, K Epochs of Minibatches
      • Resumable Weighted Data Batcher
      • Streaming Micro-Batcher: Flush on Size or Timeout
      • Tinygrad: Iterate Mini-Batches
      • Zero-Copy Batch Data Loading from Shared Memory
      • Neural Networks From Scratch: Forward and Backward