Find the gap between nodes

Here's how I went about the exercise from the last section.

Exercise 13: Find the vertical gap between nodes

  • Create the function find_between_node_gap().
  • Using the node image height and the number of nodes in the widest layer, calculate the vertical gap between nodes.
  • Update the parameter dictionary.
  • Print the result to the console.

Feel free to use my solution to the last exercise as a starting point: nn_viz_12.py

Ready? Go for it.

Complete and Continue  
Discussion

0 comments