Questions
- Why should we convert integer inputs into float values during training?
- What are the methods used to reshape a tensor object?
- Why is computation faster with tensor objects than with NumPy arrays?
- What constitutes the init magic function in a neural network class?
- Why do we perform zero gradients before performing backpropagation?
- What magic functions constitute the dataset class?
- How do we make predictions on new data points?
- How do we fetch the intermediate layer values of a neural network?
- How does the
Sequential
method help simplify the definition of the architecture of a neural network? - While updating
loss_history
, we appendloss.item()
instead ofloss
. What does this accomplish, and why is it useful to appendloss.item()
instead of justloss
? - What are the advantages of using
torch.save(model.state_dict())
?
Learn more on Discord
Join our community’s Discord space for discussions...