Debug a PyTorch U-Net shape mismatch

Read the full interview experience this question came from →

Quick Overview

This question evaluates proficiency in PyTorch model implementation, convolutional output shape arithmetic, channel configuration, and debugging of U-Net-style segmentation networks with valid (no-padding) convolutions.

Debug a PyTorch U-Net shape mismatch

Company: Apple

Role: Machine Learning Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Overview: This question evaluates proficiency in PyTorch model implementation, convolutional output shape arithmetic, channel configuration, and debugging of U-Net-style segmentation networks with valid (no-padding) convolutions.

Read the full Apple Machine Learning Engineer interview experience this question came from

Apple logo
Apple
Mar 1, 2026
mediumMachine Learning EngineerTechnical ScreenCoding & Algorithms
21
0
Practice
Loading...