Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XiaoMi/mace
/ save_html
Method
save_html
tools/python/visualize/visualize_model.py:92–95 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
90
return
html % json_msg
91
92
def
save_html(self):
93
html = self.render_html()
94
with
open(self._output_file,
"w"
)
as
f:
95
f.write(html)
Callers
1
convert
Function · 0.95
Calls
1
render_html
Method · 0.95
Tested by
no test coverage detected