Keras: Lambda layer function with multiple parameters

后端 未结 3 2131
盖世英雄少女心
盖世英雄少女心 2021-02-13 15:09

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

3条回答
  •  被撕碎了的回忆
    2021-02-13 16:00

    Found the solution to the problem in this GitHub Pull Request. Using

    y = Lambda(connection, arguments={'k':k})(x)
    

    worked!

提交回复
热议问题