Keras: Lambda layer function with multiple parameters

后端 未结 3 2225
盖世英雄少女心
盖世英雄少女心 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 15:55

    Just use

    y = Lambda(connection)((x,k)) 
    

    and then var[0], var[1] in connection method

提交回复
热议问题