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

Method _override_operator

tensorflow/python/framework/ops.py:744–745  ·  view source on GitHub ↗
(operator, func)

Source from the content-addressed store, hash-verified

742
743 @staticmethod
744 def _override_operator(operator, func):
745 _override_helper(Tensor, operator, func)
746
747 def __bool__(self):
748 """Dummy method to prevent a tensor from being used as a Python `bool`.

Callers 3

array_ops.pyFile · 0.45
math_ops.pyFile · 0.45

Calls 1

_override_helperFunction · 0.85

Tested by

no test coverage detected