tf.keras.layers.Reshape 作者:马育民 • 2020-03-23 15:02 • 阅读:10086 介绍该层可以改变形状 初始化__init__( target_shape, **kwargs ) 例子例子1: model = Sequential() model.add(Reshape((3, 4), input_shape=(12,))) 例子2: output = Reshape((16,16,5,7))(x) 原文出处:/show_1EF5D3FNAcV1.html