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

Function _NumpyMinScalar

tensorflow/python/kernel_tests/scatter_ops_test.py:82–84  ·  view source on GitHub ↗
(ref, indices, update)

Source from the content-addressed store, hash-verified

80
81
82def _NumpyMinScalar(ref, indices, update):
83 for _, indx in np.ndenumerate(indices):
84 ref[indx] = np.minimum(ref[indx], update)
85
86
87def _NumpyMax(ref, indices, updates):

Callers

nothing calls this directly

Calls 1

minimumMethod · 0.80

Tested by

no test coverage detected