MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _write_profile

Method _write_profile

tensorflow/python/profiler/model_analyzer.py:304–306  ·  view source on GitHub ↗

Writes the profile to a file.

(self, filename)

Source from the content-addressed store, hash-verified

302 return print_mdl.SerializeToString()
303
304 def _write_profile(self, filename):
305 """Writes the profile to a file."""
306 print_mdl.WriteProfile(filename)
307
308
309@tf_export(v1=['profiler.profile'])

Callers 1

_maybe_dumpMethod · 0.80

Calls 1

WriteProfileMethod · 0.80

Tested by

no test coverage detected