TensorFlow升级到2.0以后,有些高级API的调用方式发生了改变,keras.utils要通过以下方式调用:
from tensorflow.python.keras.utils import layer_utils
随着TensorFlow升级至2.0版本,部分高级API调用方式发生了变化。例如,使用keras.utils时,需要通过特定的方式进行导入:from tensorflow.python.keras.utils import layer_utils。
TensorFlow升级到2.0以后,有些高级API的调用方式发生了改变,keras.utils要通过以下方式调用:
from tensorflow.python.keras.utils import layer_utils
2745
1372
1495
645

被折叠的 条评论
为什么被折叠?
