results = {
let trials = []
for(let n=1; n<100;n++){
const A = math.random([n,n])
const x = math.random([n,1])
const At = tf.tensor(A)
const xt = tf.tensor(x)
for(let trial = 1; trial <= 50;trial++){
const timeMath = test(math.multiply, [A,x])
const timeTF = test(tf.matMul, [At,xt])
if(trial > 5)
trials.push({n, timeMath, timeTF})
}
}
return trials
}