Closed BiceCold closed 6 years ago
@BiceCold Did you figure it out? seems like this book is filled with typos and no one bothered to check the code before printing=(((
@ilyaperepelitsa @BiceCold Yeah, it's a mistake. You need to change sess.add_graph(sess.graph)
to writer.add_graph(sess.graph)
. If you Google around, the add_graph()
method exists on the FileWriter class.
Hello,
I've been searching all over for a solution to this and can't come up with anything. In Listing 2.16 there is an issue. When I copy from the example I get this error:
AttributeError Traceback (most recent call last)