首页 > 解决方案 > 如何定义张量图?

问题描述

我是最近开始机器学习的初学者。目前,我正在尝试通过参考以下站点来使用 Deepchem 进行深度学习。 https://pchanda.github.io/Deepchem-GraphConvolutions/

所以,我想问一个问题,因为我偶然发现了 Tensorgraph 的定义。首先,目前的情况是

tg = TensorGraph(batch_size=batch_size,learning_rate=0.0005,use_queue=False)

当我进入

name 'TensorGraph' is not defined

所以,在 conda 环境中安装 TensorGraph 之后

import tensorgraph
tg = tensorgraph(batch_size=batch_size,learning_rate=0.0005,use_queue=False)

我重新输入了代码

'module' object is not callable

我应该如何在 TensorGraph 中定义它?

标签: tensorflow

解决方案


推荐阅读