Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ product
Function
product
examples/model_selection/Trails/singa_pkg_code/tensor.py:783–784 ·
view source on GitHub ↗
(shape)
Source
from the content-addressed store, hash-verified
781
782
783
def
product(shape):
784
return
reduce(
lambda
x, y: x * y, shape)
785
786
787
def
sizeof(dtype):
Callers
3
reshape
Method · 0.70
repeat
Method · 0.70
einsum
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected