I think I found an error in the Tensorflow for Dummies book.
ISBN is 978-1-119-46621-5
At the bottom of page 34, the example for the tensorflow slice function shows that the result would be [[5. 6.][7. 8.]], when it actually is [[5. 6.][8. 9.]].
I ran the code to make sure. Maybe I'm missing something though, I am new to this!
Thank you for your post.
I am sending your content error report to the editorial team for review. I will update you as soon as I receive an update.
Please let me know if you have any questions. Have a great weekend!