- 博客(3)
- 收藏
- 关注
转载 tensorflow tf.variable_scope tf.name_scope
tensorflow tf.variable_scope tf.name_scope tf.variable_scope可以让变量有相同的命名,包括tf.get_variable得到的变量,还有tf.Variable的变量 tf.name_scope可以让变量有相同的命名,只是限于tf.Variable的变量 代码示例: tf.variable_scope import tensorflow as...
2019-11-09 09:03:01
124
转载 tensorflow tf.placeholder
tensorflow tf.placeholder函数形式参数为什么要用placeholder?代码示例: 函数形式 tf.placeholder( dtype, shape=None, name=None ) 参数 dtype:数据类型。常用的是tf.float32,tf.float64等数值类型 shape:数据形状。默认是None,就是一维值,也可以是多维(比如[...
2019-11-09 08:56:14
152
原创 MATLAB第一天(2019年9月9日)
MATLAB第一天(2019年9月9日) 绘制图形:描点连线法 绘制y= e^x x∈[-2,3]的图形 x = -2:1:3 ; %x的值从-2到3,步长为1 y = exp(x) ;%函数关系 plot(x,y,'r')%绘制,'r'为红色,默认为蓝色,g绿色,b蓝色,c青绿色,m洋红色,y黄色,k黑色,w白色。 hold on%用于在已画好的图形上添加新的图形 绘制圆形 R =...
2019-09-09 21:51:19
207
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅