朱莉娅 - 并行计算

时间:2018-06-12 14:40:57

标签: tensorflow parallel-processing julia

我想在导入Python函数后在TensorFlow中创建一个会话。

不幸的是,它还不可能(我在Github发布了一个问题,here

接下来我想尝试并行计算(在一个线程中导入Python函数并在另一个线程中创建TensorFlow会话)

我读了documentation,但我不知道如何进行并行计算?

你能建议我吗?

代码示例

在主题1上:

using PyCall
@pyimport tensorflow as pythonTF

在主题2上:

using TensorFlow
sess = Session(Graph())

# Call the other thread's function 

0 个答案:

没有答案