Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ reduce_fn
Method
reduce_fn
tensorflow/python/data/kernel_tests/reduce_test.py:51–53 ·
view source on GitHub ↗
(state, value)
Source
from the content-addressed store, hash-verified
49
def
testSumTuple(self):
50
51
def
reduce_fn(state, value):
52
v1, v2 = value
53
return
state + v1 + v2
54
55
for
i in range(10):
56
ds = dataset_ops.Dataset.range(1, i + 1)
Callers
nothing calls this directly
Calls
2
assign_add
Method · 0.45
device
Method · 0.45
Tested by
no test coverage detected