I'm not sure how it is called in python i think its a pair Anyway I have a huge numpy array, its format is like
FFnetlayer0 = [ 0, 243, 9, 243, 18, 243, 4, 244, 13, 244, ....etc.]
I need this numpy array format to be:
FFnetlayer0 = [ (0, 243), (9, 243), (18, 243), (4, 244), (13, 244), .....]
Nodepairs needs to be between ( ) for building manually a neural net FFnet for python I'm building a huge neural net, so i use a function to create the array but i dont get the ( ) symbols included
conec =[]
for i in range (3):
conec = numpy.append(conec,[(i,243),(i+9,243),(i+18,243)])
d = 4
conec = numpy.append(conec,[(i+d,244),(i+9+d,244),(i+18+d,244)])
d = 7
...
..
.