MCPcopy Index your code
hub / github.com/apache/tvm / randomArray

Function randomArray

web/tests/node/test_vm.js:33–37  ·  view source on GitHub ↗
(length, max)

Source from the content-addressed store, hash-verified

31);
32
33function randomArray(length, max) {
34 return Array.apply(null, Array(length)).map(function () {
35 return Math.random() * max;
36 });
37}
38
39test("add one", () => {
40 tvm.beginScope();

Callers 1

test_vm.jsFile · 0.70

Calls 1

applyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…