kaggle使用tpu

在Keras中使用TPU 從Tensorflow 2.1開始,經過Keras API支持TPU。Keras支持適用於TPU和TPU盒。這是一個適用於TPU,GPU和CPU的示例:web # TPU detection try: tpu = tf.distribute.cluster_resolver.TPUClusterResolver() except ValueError: tpu
相關文章
相關標籤/搜索