Question 4/10 fast.ai v3 lecture 8


What action will the code above carry out in order to perform the comparison?

Answer

It will represent val (without copying and using up more memory) to make it seem as if its shape matches that of ary and make the comparison as a single, vectorized operation

Relevant part of lecture