Answer the question
In order to leave comments, you need to log in
How to connect a loop with a multidimensional array?
Created a multidimensional array:
data2 = w_new
Need to connect with a neural network loop with LSTM:
def f(x,x1):
return x+x1
NN=10
N=5
n=272
data2=np.zeros((NN,N,n))
for j in range(NN):
data2=2*np.random.rand(n)-1
data2=2*np.random.rand(n)-1
for i in range(2,N):
data=f(data,data)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question