面试准备

This commit is contained in:
Estom
2021-04-19 15:24:05 +08:00
parent 9e23f6ffa7
commit b41c101312
40 changed files with 903 additions and 119 deletions

View File

@@ -6,7 +6,7 @@
### preload
直接将数据设置为常量加载到TensorFlow的graph中。
```
```py
import tensorflow as tf
x1 = tf.constant([2,3,4])
x2 = tf.constant([4,0,1])
@@ -37,7 +37,7 @@ with tf.Session() as sess:
> 基于队列QueueAPI构建输入通道pipelines,读取文件中的数据
##### 原理介绍
### 原理介绍
* 使用字符串张量(比如["file0", "file1"]) 或者tf.train.match_filenames_once 函数来产生文件名列表。
* 文件名打乱可选Optional filename shuffling