如何在RASA中配置张量流

时间:2019-07-05 06:20:53

标签: tensorflow rasa-nlu

从源代码构建的Tensorflow安装在具有Xeon Processor的计算机上的docker容器中。张量流性能指南建议从源头构建。它还指定我们为张量流配置threads参数。我不确定该在哪里做。

根据Tensorflow文档,我在Xeon Server上的性能下降。我必须将这些参数设置为1。请让我知道在RASA代码中的位置。

下面列出的两个配置用于通过调整线程池来优化CPU性能。

intra_op_parallelism_threads: Nodes that can use multiple threads to parallelize their execution will schedule the individual pieces into this pool.
inter_op_parallelism_threads: All ready nodes are scheduled in this pool

0 个答案:

没有答案