PyTorch 实现与追问
- 题目来源
- Devinterview 其中第 85—146 题的题目索引来自 Devinterview,答案由 AIMLInterviews 重新撰写;原文的 50 题补充部分在此收录为 62 道,含拆分追问。
Pad variable-length tensors and create a mask.
原题Gather one class score per example from [B, C].
原题Advanced indexing versus gather versus index_select?
原题Diagnose CPU targets with GPU predictions.
原题Explain contiguous tensors and .contiguous().
原题Find the squeeze() batch-size-one bug.
原题How do in-place operations affect autograd?
原题Compare detach(), clone(), and torch.no_grad().
原题Why can .item() slow a GPU loop?
原题Implement fit, transform, and inverse_transform standardization.
原题
暂无题目