MCPcopy Create free account
hub / github.com/alibaba/nann / _OverrideBinaryOperatorHelper

Function _OverrideBinaryOperatorHelper

tensorflow/tensorflow/python/ops/math_ops.py:884–944  ·  view source on GitHub ↗

Register operators with different tensor and scalar versions. If `clazz_object` is `SparseTensor`, assumes `func` takes `(sp_indices, sp_values, sp_shape, dense)` and outputs `(new_sp_values)`. Args: func: the operator op_name: name of the operator being overridden clazz_object:

(func, op_name, clazz_object=ops.Tensor)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

math_ops.pyFile · 0.85

Calls 1

_override_operatorMethod · 0.45

Tested by

no test coverage detected