PracHub
QuestionsCoachesLearningGuidesInterview Prep
|Home/Machine Learning/Tesla

Compute Conv2D parameter counts

Last updated: Mar 29, 2026

Quick Overview

This question evaluates understanding of convolutional neural network parameterization, specifically how kernel dimensions, input/output channels and an optional bias term determine the number of learnable parameters.

  • easy
  • Tesla
  • Machine Learning
  • Machine Learning Engineer

Compute Conv2D parameter counts

Company: Tesla

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Technical Screen

For a 2D convolution layer, given input channels C_in, output channels C_out, kernel size (k_h, k_w), stride (s_h, s_w), padding (p_h, p_w), and an optional bias term, compute the total number of learnable parameters for the layer in both cases: with bias and without bias.

Quick Answer: This question evaluates understanding of convolutional neural network parameterization, specifically how kernel dimensions, input/output channels and an optional bias term determine the number of learnable parameters.

Related Interview Questions

  • Design RL reward for speed limits - Tesla (hard)
  • How to Identify Best Battery Group - Tesla (medium)
  • Compare RNNs, LSTMs, Transformers, and MPC - Tesla (hard)
  • Implement attention and Transformer with backward pass - Tesla (hard)
|Home/Machine Learning/Tesla

Compute Conv2D parameter counts

Tesla logo
Tesla
Sep 6, 2025, 12:00 AM
easyMachine Learning EngineerTechnical ScreenMachine Learning
15
0

Parameter Count for a 2D Convolution Layer

You are given a standard 2D convolution layer with:

  • Input channels: C_in
  • Output channels: C_out
  • Kernel size: (k_h, k_w)
  • Stride: (s_h, s_w)
  • Padding: (p_h, p_w)
  • Optional bias term

Task:

  1. Compute the total number of learnable parameters when the layer includes a bias term.
  2. Compute the total number of learnable parameters when the layer has no bias term.

Assume a standard convolution (groups = 1).

Loading comments...

Browse More Questions

More Machine Learning•More Tesla•More Machine Learning Engineer•Tesla Machine Learning Engineer•Tesla Machine Learning•Machine Learning Engineer Machine Learning

Write your answer

Your first approved answer each day earns 20 XP.

Sign in to write your answer.
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.