PT21-22-Reseau-Neurones/tests/timeTest.py
2021-12-22 22:08:20 +01:00

12 lines
211 B
Python

import random
import numpy as np
inputs = []
for i in range(10000000):
inputs.append([random.randrange(10)])
inputs = np.array(inputs, dtype=object)
inputs = np.insert(inputs, 0, 1, axis=1)
print(inputs)