The tensor must be passed to the layer when you are calling it, and not as an argument. Therefore it must be like this: x = Flatten()(x) # first the layer ...
確定! 回上一頁