Keras 3 API 文档 / 层 API / 核心层 / 恒等层

恒等层

[源代码]

Identity

keras.layers.Identity(**kwargs)

恒等层。

当无需执行任何操作时,此层应作为占位符使用。该层仅返回其 inputs 参数作为输出。