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

Method _run_op

tensorflow/python/ops/variables.py:1281–1283  ·  view source on GitHub ↗
(a, *args, **kwargs)

Source from the content-addressed store, hash-verified

1279 tensor_oper = getattr(ops.Tensor, operator)
1280
1281 def _run_op(a, *args, **kwargs):
1282 # pylint: disable=protected-access
1283 return tensor_oper(a.value(), *args, **kwargs)
1284
1285 functools.update_wrapper(_run_op, tensor_oper)
1286 setattr(cls, operator, _run_op)

Callers

nothing calls this directly

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected