PyTorch 实现与追问

题集来源:Alireza Dirafzoon(alirezadir)收录项目:AIMLInterviews查看原题集

题目来源
Devinterview 其中第 85—146 题的题目索引来自 Devinterview,答案由 AIMLInterviews 重新撰写;原文的 50 题补充部分在此收录为 62 道,含拆分追问。

题目目录

156 道原题
  1. Normalize images with per-channel statistics.

    原题
  2. Implement a custom Dataset for numerical and categorical features.

    原题
  3. Write a collate_fn for variable-length sequences.

    原题
  4. Handle missing values without leakage.

    原题
  5. Handle an unseen category at inference.

    原题
  6. Where should preprocessing live?

    原题
  7. Make stochastic augmentation reproducible with DataLoader workers.

    原题
  8. Why might multiple DataLoader workers be slower?

    原题
  9. Pinned memory and non-blocking transfers?

    原题
  10. Implement binary accuracy from logits.

    原题