Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BindsNET/bindsnet
/ runtime_benchmark
Function
runtime_benchmark
examples/benchmark/sparse_vs_dense_tensors.py:105–107 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
103
104
105
def
runtime_benchmark():
106
print(f
"Sparse runtime: {run(True)} seconds"
)
107
print(f
"Dense runtime: {run(False)} seconds"
)
108
109
110
if
args.benchmark_type ==
"memory"
:
Callers
1
sparse_vs_dense_tensors.py
File · 0.85
Calls
1
run
Function · 0.85
Tested by
no test coverage detected