我阅读了CentralStorageStrategy
和MirroredStrategy
的文档,但无法理解它们之间差异的本质。你知道吗
在MirroredStrategy
中:
Each variable in the model is mirrored across all the replicas.
在CentralStorageStrategy
中:
Variables are not mirrored, instead they are placed on the CPU and operations are replicated across all local GPUs.
资料来源:https://www.tensorflow.org/guide/distributed_training
这在实践中意味着什么?什么是CentralStorageStrategy
的用例?如果在这个策略中变量被放置在CPU上,那么训练是如何工作的?你知道吗
目前没有回答
相关问题 更多 >
编程相关推荐