This PR gives the Adam optimizer the model parameters that it needs to optimize.
I did not include them when I originally initiated the optimizer object. Colab threw an error TypeError: __init__() missing 1 required positional argument: 'params' when I tried to run my code. These changes should fix this error.
This PR gives the Adam optimizer the model parameters that it needs to optimize.
I did not include them when I originally initiated the optimizer object. Colab threw an error
TypeError: __init__() missing 1 required positional argument: 'params'
when I tried to run my code. These changes should fix this error.