我使用串联函数在Keras中合并两层
#Statistics pooling layer
h1=Lambda(stats_pool_mean,output_shape=(1,1500))(embedd)
h2=Lambda(stats_pool_std,output_shape=(1,1500))(embedd)
h=keras.layers.concatenate([h1,h2]) <---- Source of error
h=keras.layers.Reshape((1,3000))(h)
我收到此错误:
AttributeError: 'tuple' object has no attribute 'layer'
我在做什么错了?