It seems that the add_graph() function does not have a keyword argument called tag. Please check the documentation or the source code of the writer object to see if there is a different way to add a graph with a tag. The add_graph() function might not support tagging directly. You can explore alternative approaches, such as: 1. Using the name argument: If the add_graph() function allows you to specify a name for the graph, you can use this name as a tag. 2. Adding metadata: You can add metadata to the graph using other methods like adding comments or using custom annotations. 3. Modifying the source code: If you have access to the source code of the writer object, you can modify it to support tagging graphs. Remember to always refer to the official TensorFlow documentation for the most up-to-date information and best practices.


原文地址: https://www.cveoy.top/t/topic/pLR3 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录