问题:Got an unexpected keyword argument ‘keep_dims‘
TimeDistributed(Lambda(lambda x: tf.reduce_max(x, axis=-2, keepdims=True)))(net)报错:reduce_max() Got an unexpected keyword argument ‘keep_dims’解决:查看函数实现,keep_dims 改为 keepdimsAttributeError: module ‘ker
·
TimeDistributed(Lambda(lambda x: tf.reduce_max(x, axis=-2, keepdims=True)))(net)
报错:
reduce_max() Got an unexpected keyword argument ‘keep_dims’
解决:查看函数实现,keep_dims 改为 keepdims
更多推荐
所有评论(0)