上一页 1 ··· 327 328 329 330 331 332 333 334 335 ··· 345 下一页
摘要: 版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u011026329/article/details/79190347 ... 阅读全文
posted @ 2018-10-28 17:37 luoganttcc 阅读(546) 评论(0) 推荐(0) 编辑
摘要: #listL = [x * x for x in range(10)]#generraterg = (x * x for x in range(10))gOut[4]: at 0x7f3d143048e0>LOut[5]: [0, 1, 4, 9, 16,... 阅读全文
posted @ 2018-10-28 11:26 luoganttcc 阅读(104) 评论(0) 推荐(0) 编辑
摘要: import numpy as npimport tensorflow as tfa=np.reshape(range(24),(4,2,3))sess=tf.InteractiveSession()b= tf.split(a,1,0)c=sess.run(... 阅读全文
posted @ 2018-10-26 19:18 luoganttcc 阅读(78) 评论(0) 推荐(0) 编辑
摘要: import tensorflow as tf; import numpy as np; x = tf.constant([[1, 2, 3], [4, 5, 6]])cc=tf.transpose(x)init = tf.initialize_all_va... 阅读全文
posted @ 2018-10-26 10:51 luoganttcc 阅读(96) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python3# -*- coding: utf-8 -*-"""Created on Thu Oct 25 15:29:59 2018@author: lg"""import tensorflow as tfimport nu... 阅读全文
posted @ 2018-10-25 19:28 luoganttcc 阅读(86) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python3# -*- coding: utf-8 -*-"""Created on Thu Oct 25 13:41:35 2018@author: lg"""import numpy as npimport pandas ... 阅读全文
posted @ 2018-10-25 19:22 luoganttcc 阅读(357) 评论(0) 推荐(0) 编辑
摘要: import numpy as np import tensorflow as tf import tensorflow.contrib.rnn as rnn import matplotlib.pyplot as plt import matplotlib... 阅读全文
posted @ 2018-10-25 19:20 luoganttcc 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 网上看到很多tf.pad的文章,很多都语焉不详,需自己动手操作才能真正理解,pad,一言以蔽之,就是在矩阵的周围补0。 1. 对于二维矩阵,就是在 上 ,下,左,右补0#pad1 = np.array([[‘上’,‘下’], [‘左’,‘右’ ]])impo... 阅读全文
posted @ 2018-10-23 10:50 luoganttcc 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 在登录远程服务器的时候使用命令:ssh -L 16006:127.0.0.1:6006 name@server_ipnohup python file_name.py >p1.log >tensorboard --logdir=./log在本机浏览器输入:h... 阅读全文
posted @ 2018-10-22 14:33 luoganttcc 阅读(96) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python3# -*- coding: utf-8 -*-"""Created on Mon Oct 22 13:04:34 2018@author: lg"""#!/usr/bin/env python3# -*- codi... 阅读全文
posted @ 2018-10-22 14:27 luoganttcc 阅读(94) 评论(0) 推荐(0) 编辑
上一页 1 ··· 327 328 329 330 331 332 333 334 335 ··· 345 下一页