
Tensorflow
Fly_TheWind
这个作者很懒,什么都没留下…
展开
-
TensorFlow Course Day 1
TensorBoard (Visualization) # day 1导入新建tensorBoard.py文件from __future__ import print_functionimport tensorflow as tfimport os 设置日志文件的默认路径# The default path for saving event files is the same f...原创 2018-10-19 05:51:45 · 284 阅读 · 0 评论 -
Basic | Day 2
Basic math operationfrom __future__ import print_functionimport tensorflow as tfimport os# Defining some constant valuesa = tf.constant(5.0, name="a")b = tf.constant(10.0, name="b")# Some bas...原创 2018-10-20 05:05:13 · 188 阅读 · 0 评论 -
Tensorflow(Keras)的tile函数
tf.tile( input, multiples, name=None)input 指输入的张量multiples 指对张量的每一维需要操作的系数示例如下图:原创 2019-08-21 19:15:37 · 1236 阅读 · 0 评论 -
tensorflow初试:使用多层感知机预测MNIST数字
代码:https://github.com/BeCuriousCat/LearningML/blob/master/MLP_tensorflow.ipynbimport tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_datamnist = input_data.read_data_sets("MNI...原创 2019-08-22 10:46:38 · 275 阅读 · 0 评论