Data Manipulation

Hi I had an issue while trying to follow with this.
I had installed everythging as per the instructions in the installation chapter, but when I try to import tensorflow in a new jupyter notebook, it gives the following error

Can someone help me with this?

Hi @ikjot-2605, you may need to conda activate d2l before you do jupyter notebook. If you indeed followed the above, check pip list and see if tensorflow is properly installed there.

Thank you so much @goldpiggy, the issue is resolved.


The documentation states that by default the tensor will hold the value of dtype float.
But in TensorFlow, the resulting tensor produces dtype of int32 which I guess is an integer.