Certified AI Developer (CAID) Introduction to AI CAID
Quiz 6 Question 18 of 20

You are writing a Python script to train a deep neural network using PyTorch. You have defined your model class and instantiated it. Now, you need to set up the Adam optimizer using torch.optim.Adam. What is the mandatory first argument that you must pass to the optimizer's constructor during initialization?

Select an answer to reveal the explanation.