Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
82
def
_NumpyMinScalar(ref, indices, update):
83
for
_, indx in np.ndenumerate(indices):
84
ref[indx] = np.minimum(ref[indx], update)
85
86
87
def
_NumpyMax(ref, indices, updates):
Callers
nothing calls this directly
Calls
1
minimum
Method · 0.80
Tested by
no test coverage detected