Miscellaneous
tensorflow 2 有单独的 cpu 版本,安装 tensorflow-cpu 即可。
CUDA 和 tensorflow 版本对照
tfhub 在大陆访问受限,可以使用 tfhub 在中国的镜像地址:
# hub.Module("https://tfhub.dev/google/elmo/2")
hub.Module("https://hub.tensorflow.google.cn/google/elmo/2")
tf.reshape(
tensor, shape, name=None
)
Last updated
Was this helpful?