MCPcopy 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
105def runtime_benchmark():
106 print(f"Sparse runtime: {run(True)} seconds")
107 print(f"Dense runtime: {run(False)} seconds")
108
109
110if args.benchmark_type == "memory":

Callers 1

Calls 1

runFunction · 0.85

Tested by

no test coverage detected