Spooky Sale: 10% off Premium yearly · $118.80 for the first year · until Nov 6Get it

Deep-ML
Learn
Problems1,200+ hands-on ML problemsLearning PathA guided route through the fundamentalsLabsInteractive labs on real techniquesProjectsBuild a GPT, an RL agent, CUDA kernelsCollectionsCurated problem sets and videosMathPen-and-paper math for MLIntuitionInvent the idea behind the formula yourselfPlaylistsYour own problem lists, shareableStudy AssistantAn AI teacher that knows your progress
Interview Prep
Compete
ContestsFresh problem sets, ranked liveLeaderboardWhere you stand, globallyBuddiesSolve with a friend: streaks, a weekly board, chat
Discuss
Deep-Path
Premium
      Intuition
      66 of 102

      Keep the original

      A network is a stack of blocks. In each one a layer computes a change = layer_weight × the signal, number by number. Write block(signal, layer_weight): what this block passes on to the next. At the start of training every layer weight is near 0, and a deep network stacks 50 of these blocks.

      A signal goes into a stack of 50 blocks. In each, a layer computes a change: its weight × the signal, and at the start of training every weight is near 0. Watch what a block that passes on just its change does to the signal, block after block.

      A signal goes in: 2, −0.5, 1. Every layer weight is 0.05.what each block passes on, if it passes on just its changein100%block 15%block 20.25%block 30.013%block 410⁻³%block 5…10⁻⁵%block 10…10⁻¹¹%block 5010⁻⁶³%block(signal, layer_weight 0.05) → what it passes on?
      Your functionblock(signal, layer_weight)
      signala list of numbers coming into the blocke.g. [2, −0.5, 1]
      layer_weightthe layer computes change = layer_weight * signale.g. 0
      returnswhat this block passes on to the next one
      solution.pyLoading Python
      Sign in for an AI hint
      ← Keep the signal aliveDon’t depend on the neighbours →