keras早期版本中,导入 initializers,regularizers,constraints等模块为:
from keras.layers import initializers,regularizers,constraints
现应为:
from keras import initializers,regularizers,constraints
具体见keras中文文档
keras早期版本中,导入 initializers,regularizers,constraints等模块为:
from keras.layers import initializers,regularizers,constraints
现应为:
from keras import initializers,regularizers,constraints
具体见keras中文文档