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
相关文章
相关标签/搜索