ML Coding: 2-D Convolution, Decaying Attention, Training Loop

Asked at NVIDIA · Coding Questions · Difficulty: Medium · Last asked Dec 10, 2025

Deep Learning and AI product roles ask small ML implementation tasks: write 2-D convolution in NumPy, implement decaying attention `softmax(q @ k + b) @ v`, and fill a standard training loop with a provided model and dataset.

Loading the problem…