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

Method _is_hosttrace_dvice

tensorflow/python/client/timeline.py:634–636  ·  view source on GitHub ↗

Retruns true if this device is part of the HostTracer logging.

(self, device_name)

Source from the content-addressed store, hash-verified

632 'stream:MemcpyDtoH' in device_name
633
634 def _is_hosttrace_dvice(self, device_name):
635 """ Retruns true if this device is part of the HostTracer logging. """
636 return '/host:CPU' in device_name
637
638 def _is_launchtrace_device(self, device_name):
639 return "/host:CPU Launch" in device_name

Callers 1

_show_computeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected