Phone

+919997782184

Email

support@roboticswithpython.com

Geeks of Coding

Join us on Telegram

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

      Question 1 –
      What is the purpose of the following line of code?
      x.view(-1,28*28 )

      Answer :
      Images are square and we have to convert them to a vector

      Question 2 –
      what does the following line of code do.
      train_dataset = dsets.MNIST(root='./data', train=True, download=True, transform=transforms.ToTensor())

      Answer :
      Provide the training labels and images as tensors

Viewing 0 reply threads
  • You must be logged in to reply to this topic.