I am trying to write a Lambda layer in Keras which calls a function connection, that runs a loop for i in range(0,k) where k
Lambda
connection
for i in range(0,k)
k
Found the solution to the problem in this GitHub Pull Request. Using
y = Lambda(connection, arguments={'k':k})(x)
worked!