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

Method reason

tensorflow/python/tpu/tensor_tracer.py:322–325  ·  view source on GitHub ↗

Returns reason why the Op at op_idx is traced or not.

(op_idx, details)

Source from the content-addressed store, hash-verified

320
321 @staticmethod
322 def reason(op_idx, details):
323 """Returns reason why the Op at op_idx is traced or not."""
324
325 return '%d %s'%(op_idx, details)
326
327 def __init__(self):
328 """Initializes a TensorTracer.

Callers 2

_skip_opMethod · 0.80
_skip_tensorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected