TensorFlow
hozhangel
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
安装or升级tensorflow
pip3 install --upgrade tensorflow==1.6.0 pip3 install --upgrade --user tensorflow==1.6.0原创 2018-08-10 20:16:00 · 301 阅读 · 0 评论 -
查看Ubuntu/cuda/Tensorflow/Pytorch版本
查看Cuda版本: cat /usr/local/cuda/version.txt CUDA Version 9.0.176 查看Linux/Ubuntu版本: (1) cat /proc/version 输出: Linux version 4.4.0-137-generic (buildd@lgw01-amd64-037) (gcc version 5.4.0 2...原创 2018-11-13 09:19:00 · 737 阅读 · 0 评论 -
TensorFlow参数说明(一)
本篇介绍函数包括: tf.conv2d tf.nn.relu tf.nn.max_pool tf.nn.droupout tf.nn.sigmoid_cross_entropy_with_logits tf.truncated_normal tf.constant tf.placeholder tf.nn.bias_add tf.reduce_mean tf.squared_...原创 2018-02-24 10:52:00 · 279 阅读 · 0 评论 -
TensorFlow部分函数理解(一)
本篇介绍函数包括: tf.conv2d tf.nn.relu tf.nn.max_pool tf.nn.droupout tf.nn.sigmoid_cross_entropy_with_logits tf.truncated_normal tf.constant tf.placeholder tf.nn.bias_add tf.reduce_mean tf.squared_...原创 2018-02-24 10:18:00 · 348 阅读 · 0 评论 -
tf.reduce_mean() || tf.contrib.rnn.BasicRnnCell || tf.contrib.rnn.BasicLSTMCell || tf.reshape()
tf.reduce_mean() (或tf.reduce_max()一个是求平均值,一个是求最大值) # 'x' is [[1., 2.] # [3., 4.]] x是一个2维数组,分别调用reduce_*函数如下: 首先求平均值: tf.reduce_mean(x) ==> 2.5 #如果不指定第二个参数,那么就在所有的元素中取平均值 tf.reduce_mea...原创 2017-12-26 12:07:00 · 283 阅读 · 0 评论 -
conv2d
tf.nn.conv2d conv2d( input, filter, strides, padding, use_cudnn_on_gpu=True, data_format='NHWC', name=None ) 参数列表: 参数名 必选 类型 说明 ...原创 2017-12-21 15:43:00 · 344 阅读 · 0 评论 -
查看TensorFlow版本
$python >>>import tensorflow as tf >>>tf.__version__ #查询tensorflow安装路径为: >>>tf.__path__原创 2017-12-21 15:37:00 · 171 阅读 · 0 评论
分享