PyTorch 实现与追问
- 题目来源
- Devinterview 其中第 85—146 题的题目索引来自 Devinterview,答案由 AIMLInterviews 重新撰写;原文的 50 题补充部分在此收录为 62 道,含拆分追问。
Implement a reproducible train/validation split without scikit-learn.
原题Write a generator that lazily reads and transforms records from a large dataset.
原题Flatten a nested dictionary while preserving a reversible mapping.
原题Merge metric dictionaries and compute weighted averages.
原题Implement an execution-time decorator.
原题Design a registry for losses, optimizers, or preprocessing functions.
原题Refactor a monolithic training script into testable modules.
原题Define a typed configuration object.
原题Make a utility deterministic without mutable global state.
原题When should you use a dataclass, function, class, or abstract base class?
原题
暂无题目