Add property that allows layers to specify that the input_spec can also be...
Add property that allows layers to specify that the input_spec can also be used as the layer call function's input_signature. By default,all Keras exported layers will have this property return True, since Keras more rigidly defines the input_spec shape (compared to user-defined models, which may only have `ndims` set). PiperOrigin-RevId: 339909813 Change-Id: I1b486747aa1e413e6f24f6809fb88846ad4712ab
Showing
想要评论请 注册 或 登录