TensorFlow(七) TensorFlow 勘误
来源:互联网 发布:linux服务器配置ipv6 编辑:程序博客网 时间:2024/05/22 10:30
1. AttributeError: module 'tensorflow' has no attribute 'select'
def test(): sess = tf.Session() v1 = tf.constant([1, 3, 5, 7, 9]) v2 = tf.constant([3, 4, 5, 6, 7]) with sess.as_default(): print(tf.select(tf.greater(v1, v2), v1, v2).eval())
修改方法 : 将 select 方法修改为 where 方法即可
2.
阅读全文
0 0
- TensorFlow(七) TensorFlow 勘误
- tensorflow
- TensorFlow
- TensorFlow
- tensorflow
- tensorflow
- tensorflow
- Tensorflow
- Tensorflow
- tensorFlow
- tensorflow
- Tensorflow
- TensorFlow
- tensorflow
- Tensorflow
- TensorFlow
- TensorFlow
- tensorflow
- 9.27第五周java作业
- Java8:Lambdas(二)学习怎样去使用lambda表达式
- 微信模板消息详解
- Spring Boot 属性配置和使用
- 今日头条笔试【编程题 + 分析过程发现数学规律 + 回溯法】
- TensorFlow(七) TensorFlow 勘误
- JAVA找不到或无法加载主类
- 树状数组
- python实现卷积层的前向后向传播过程
- VS2015单文档视图项目中文档、框架以及视图创建过程
- PHP正则表达式模式修饰符详解
- C语言关键字
- 刷题笔记:C/C++工程师能力评估2
- bzoj1452 [JSOI2009]Count