PT21-22-Reseau-Neurones/timeTest.py
2021-12-16 17:06:51 +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)