解决从tensorflow中导入keras函数layers等出现Unresolved reference

    技术2024-10-16  22

    这个是tf2.0与pycharm适配的问题,网上各种改源码都试过没有效果其实把

    from tensorflow.keras import layers, optimizers, datasets, Sequential

    加上.python就神奇的解决了 from tensorflow.python.keras import layers, optimizers, datasets, Sequential

    Processed: 0.012, SQL: 9