Hi,
I have a very basic question about tf.GradientTape.
When we use it in the Lab2, we use ‘with’ statement.
Lab 2: Coursera | Online Courses & Credentials From Top Educators. Join for Free | Coursera
What is the reason for that?
What does ‘with’ statement do in this specific context?
I am not accustomed with ‘with’ statement and I need some advice on this particular use case.
I would appreciate it if anyone can guide me understanding it.
Thanks in advance
Best Regards
Michio