摘要:
给不明白深度学习能干什么的同学,感受下深度学习的power import tensorflow as tf import numpy as np #使用numpy生成100个随机点 x_data=np.random.rand(100) y_data=x_data*0.1+0.2 #这里我们设定已知直 阅读全文
posted @ 2020-02-13 02:27 wsg_blog 阅读(782) 评论(0) 推荐(0) 编辑
摘要:
给不明白深度学习能干什么的同学,感受下深度学习的power import tensorflow as tf import numpy as np #使用numpy生成100个随机点 x_data=np.random.rand(100) y_data=x_data*0.1+0.2 #这里我们设定已知直 阅读全文
posted @ 2020-02-13 02:27 wsg_blog 阅读(782) 评论(0) 推荐(0) 编辑
摘要:
import tensorflow as tf #Fetch概念 在session中同时运行多个op input1=tf.constant(3.0) #constant()是常量不用进行init初始化 input2=tf.constant(2.0) input3=tf.constant(5.0) a 阅读全文
posted @ 2020-02-13 01:47 wsg_blog 阅读(711) 评论(0) 推荐(0) 编辑
摘要:
Index C++ c++中的Exceptions异常处理 Exceptions用于处理Run-time Error; //文件读取的异常捕获伪代码 try{ open the file; determine its size; allocate that much memory; read the 阅读全文
posted @ 2020-02-13 01:00 wsg_blog 阅读(459) 评论(0) 推荐(0) 编辑 |
||