np的归纳总结
摘要:1. np.sqrt(input) # 求数的开方 2. np.square(3) # 求数的平方 3.np.sum(input) # 进行数据加和 4.np.multiply(input) # 进行数据与数据的点乘操作 5.np.transpose(value, axes=[1, 0]) # 表示
阅读全文
posted @
2018-12-27 10:04
python我的最爱
阅读(500)
推荐(0) 编辑
tensorflow 卷积神经网络基本参数()
摘要:目录: 1. tf.placeholder_with_default(tf.constant(1.0),shape=[],name='use_dropout') # 设置一个占位符 2. tf.constant(input, size, name) # 产生一个变量 3.tf.variable_sc
阅读全文
posted @
2018-12-20 18:27
python我的最爱
阅读(819)
推荐(0) 编辑
tensorflow 基本函数(1.tf.split, 2.tf.concat,3.tf.squeeze, 4.tf.less_equal, 5.tf.where, 6.tf.gather, 7.tf.cast, 8.tf.expand_dims, 9.tf.argmax, 10.tf.reshape, 11.tf.stack, 12tf.less, 13.tf.boolean_mask
摘要:1. tf.split(3, group, input) # 拆分函数 3 表示的是在第三个维度上, group表示拆分的次数, input 表示输入的值 2. tf.concat(3, input) # 串接函数 3 表示的是在第三个维度上, input表示的是输入,输入一般都是列表 3. tf.
阅读全文
posted @
2018-12-20 16:09
python我的最爱
阅读(554)
推荐(0) 编辑
跟我学算法-match-LSTM(向唐老师看齐)
摘要:对于match-lstm,将hi文本与输出的match-lstm(由si,hi,qi)组合重新输入到LSTM网络中,以端对端的操作理念。 参考的博客:https://blog.csdn.net/laddie132/article/details/79159895 #MATCH-LSTM原理 http
阅读全文
posted @
2018-12-06 21:59
python我的最爱
阅读(512)
推荐(0) 编辑