Question 1: Short answer
easyAI-checkedPyTorchNMA asks for "a 1D tensor containing the even numbers between 4 and 40 inclusive" and gives
D = torch.arange(4, 41, step=2). How many elements does D have?
2 questions from PyTorch, NumPy
2 questions · 2 min · score and explanations at the end
NMA asks for "a 1D tensor containing the even numbers between 4 and 40 inclusive" and gives
D = torch.arange(4, 41, step=2). How many elements does D have?