Phone

+919997782184

Email

support@roboticswithpython.com

Geeks of Coding

Join us on Telegram

Home Forums Assignment courserra IBM AI Engineering Professional Certificate Deep Neural Networks with PyTorch WEEK 2 – Mini-Batch Gradient Descent – Quiz

Viewing 0 reply threads
  • Author
    Posts
    • #1202
      Yash AroraYash Arora
      Keymaster

      Question 1 –
      You have 100 samples of data and your batch size is 25. How many iterations will it take to go through 1 epoch?

      Answer :
      4

      Question 2 –
      Consider the dataset class Data(). How would you create a data loader object trainloader with a batch size of 5?

      Answer :

      data_set=Data()
      trainloader=DataLoader(dataset=data_set,batch_size=5)
Viewing 0 reply threads
  • You must be logged in to reply to this topic.