tensorflow - 如何定义张量图?
问题描述
我是最近开始机器学习的初学者。目前,我正在尝试通过参考以下站点来使用 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 中定义它?
解决方案
推荐阅读
- android - 存储访问提供程序 - 在授权目录中创建文件夹失败
- python-2.7 - 如何使用 conda 在 python2.7 中导入 matplotlib
- php - 如何在单个 php 页面中将值插入到不同的表中?
- angularjs - 为什么函数语句中的“this”指向组件之间的错误范围?
- python - Python3 Slicing,TypeError:列表索引必须是整数或切片,而不是列表
- node.js - Mongoose 是否支持 Set 数据类型?
- reactjs - 逐行反应ag-grid组
- workflow - 何时使用工作流引擎 - 使用和误用
- javascript - Service Worker 标记为冗余
- java - 如何在 Java 中创建/调用 AWS Lambda 函数?