Tensorflow2.0
xiaoa~
这个作者很懒,什么都没留下…
展开
-
Tensorflow2 RNN模型imdb电影评分预测和Character-level language model
import matplotlib as mplimport matplotlib.pyplot as plt%matplotlib inlineimport numpy as npimport pandas as pdimport osimport sysimport timeimport sklearnfrom tensorflow import kerasimport ...原创 2020-03-08 13:39:57 · 1322 阅读 · 0 评论 -
TensorFlow2.0 CNN,深度可分离卷积,keras_generator,resnet50迁移学习,BN层(cifar)(chapter06)
import matplotlib as mplimport matplotlib.pyplot as plt%matplotlib inlineimport numpy as npimport pandas as pdimport osimport sysimport timeimport sklearnfrom tensorflow import kerasimport ...原创 2020-03-03 17:13:53 · 1253 阅读 · 0 评论 -
Tensorflow2.0 feature_columns ,交叉特征,estimator,tf1.0实战(第五节)
5-3 feature_columnsimport matplotlib as mplimport matplotlib.pyplot as plt%matplotlib inlineimport numpy as npimport pandas as pdimport osimport sysimport timeimport sklearnfrom tensorflow i...原创 2020-02-20 11:05:53 · 975 阅读 · 0 评论 -
Tensorflow2.0之dataset读取csv及tfrecord文件(第四节)
本章节的主要内容是csv文件的读入(写入直接用pandas即可),tfrecords文件的写入及读取(读入是解析成可以训练的数组形式)csv文件读入list_files = ['a.csv','b.csv','c.csv']csv_dataset = tf.data.Dataset.list_files(list_files)csv_dataset = csv_dataset.int...原创 2020-02-18 22:31:24 · 3828 阅读 · 0 评论 -
Tensorflow2.0使用keras搭建神经网络(第二节)
import matplotlib as mplimport matplotlib.pyplot as plt%matplotlib inlineimport numpy as npimport pandas as pdimport osimport sysimport timeimport sklearnfrom tensorflow import kerasimport ...原创 2020-01-25 18:21:07 · 756 阅读 · 0 评论 -
Tensorflow2.0 自定义损失函数,重写layer层, tf.function,图结构, tf.gradient等(第三节)
import matplotlib as mplimport matplotlib.pyplot as plt%matplotlib inlineimport numpy as npimport pandas as pdimport osimport sysimport timeimport sklearnfrom tensorflow import kerasimport ...原创 2020-02-13 22:49:00 · 1070 阅读 · 0 评论