
tensorflow
sinat_15355869
这个作者很懒,什么都没留下…
展开
-
tf 1.x 相关接口记录
tf.sequence_mask()https://blog.youkuaiyun.com/xinjieyuan/article/details/95760679?utm_medium=distribute.pc_relevant.none-task-blog-baidujs-1tf.cast()函数介绍和示例https://blog.youkuaiyun.com/qq_36512295/article/details/100599954转载 2020-06-08 15:37:59 · 164 阅读 · 0 评论 -
tensorflow2.0-1
# Tensorflow 1 + 1import tensorflow as tfimport numpy as np# random_float = tf.random.uniform(shape=())# zero_vec = tf.zeros(shape=(2))### A = tf.constant([[1., 2.], [3., 4.]])# B = tf.cons...原创 2020-05-06 12:06:13 · 168 阅读 · 0 评论 -
Tensorflow 记录
需要看看的链接~TensorFlow tf.data 导入数据(tf.data官方教程)原创 2020-04-21 11:54:02 · 147 阅读 · 0 评论 -
tfrecord 基本使用
# how to generate tfrecord# 1) one data -> tf.train.Feature# 2) multi Feature -> dict -> tf.train.Example# 3) tf.train.Example -> SerializeToString -> TFRecordWriterimport ten...原创 2020-04-19 14:18:02 · 198 阅读 · 0 评论