CoLab设置使用GPU和TPU
##tf2.4.0from tensorflow.python.keras.callbacks import EarlyStoppingfrom tensorflow.python.keras.layers import Embedding, SpatialDropout1D, LSTM, Densefrom tensorflow.python.keras.models import Sequentialimport tensorflow as tfimport os##下面6行为GP...
原创
2021-08-11 22:09:41 ·
3301 阅读 ·
2 评论