Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ _product
Function
_product
tensorflow/python/ops/gradient_checker.py:38–45 ·
view source on GitHub ↗
(t)
Source
from the content-addressed store, hash-verified
36
37
38
def
_product(t):
39
if
isinstance(t, int):
40
return
t
41
else
:
42
y = 1
43
for
x in t:
44
y *= x
45
return
y
46
47
48
def
_extra_feeds(extra_feed_dict, new_feeds):
Callers
2
_compute_theoretical_jacobian
Function · 0.70
_compute_numeric_jacobian
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected