Find the node image size
Here's how I went about the exercise from the last section.
Exercise 11: Find the size of the node images
- Compare the node image heights calculated in the previous two exercises to determine which is the most restrictive. Adopt that as the node image height.
- Calculate the corresponding node image width.
- Update the parameter dictionary to include them.
- Print the result to the console.
Feel free to use my solution to the last exercise as a starting point: nn_viz_10.py
Ready? Go for it.
0 comments