Skip to content

Commit 11fe80c

Browse files
committed
bug fixed
1 parent df42436 commit 11fe80c

12 files changed

+1120
-658
lines changed

ch2_prerequsite/.ipynb_checkpoints/2.2 data manipulate-checkpoint.ipynb

Lines changed: 74 additions & 99 deletions
Large diffs are not rendered by default.

ch2_prerequsite/.ipynb_checkpoints/2.3 autoGradient-checkpoint.ipynb

Lines changed: 396 additions & 56 deletions
Large diffs are not rendered by default.

ch2_prerequsite/.ipynb_checkpoints/2.4 document-checkpoint.ipynb

Lines changed: 14 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -12,47 +12,11 @@
1212
"execution_count": 1,
1313
"metadata": {},
1414
"outputs": [
15-
{
16-
"name": "stderr",
17-
"output_type": "stream",
18-
"text": [
19-
"D:\\dev_tools\\Anaconda3_2019.07\\envs\\tensorflow\\lib\\site-packages\\tensorflow\\python\\framework\\dtypes.py:523: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.\n",
20-
" _np_qint8 = np.dtype([(\"qint8\", np.int8, 1)])\n",
21-
"D:\\dev_tools\\Anaconda3_2019.07\\envs\\tensorflow\\lib\\site-packages\\tensorflow\\python\\framework\\dtypes.py:524: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.\n",
22-
" _np_quint8 = np.dtype([(\"quint8\", np.uint8, 1)])\n",
23-
"D:\\dev_tools\\Anaconda3_2019.07\\envs\\tensorflow\\lib\\site-packages\\tensorflow\\python\\framework\\dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.\n",
24-
" _np_qint16 = np.dtype([(\"qint16\", np.int16, 1)])\n",
25-
"D:\\dev_tools\\Anaconda3_2019.07\\envs\\tensorflow\\lib\\site-packages\\tensorflow\\python\\framework\\dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.\n",
26-
" _np_quint16 = np.dtype([(\"quint16\", np.uint16, 1)])\n",
27-
"D:\\dev_tools\\Anaconda3_2019.07\\envs\\tensorflow\\lib\\site-packages\\tensorflow\\python\\framework\\dtypes.py:527: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.\n",
28-
" _np_qint32 = np.dtype([(\"qint32\", np.int32, 1)])\n",
29-
"D:\\dev_tools\\Anaconda3_2019.07\\envs\\tensorflow\\lib\\site-packages\\tensorflow\\python\\framework\\dtypes.py:532: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.\n",
30-
" np_resource = np.dtype([(\"resource\", np.ubyte, 1)])\n"
31-
]
32-
},
3315
{
3416
"name": "stdout",
3517
"output_type": "stream",
3618
"text": [
37-
"2.0.0-alpha0\n"
38-
]
39-
},
40-
{
41-
"name": "stderr",
42-
"output_type": "stream",
43-
"text": [
44-
"D:\\dev_tools\\Anaconda3_2019.07\\envs\\tensorflow\\lib\\site-packages\\tensorboard\\compat\\tensorflow_stub\\dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.\n",
45-
" _np_qint8 = np.dtype([(\"qint8\", np.int8, 1)])\n",
46-
"D:\\dev_tools\\Anaconda3_2019.07\\envs\\tensorflow\\lib\\site-packages\\tensorboard\\compat\\tensorflow_stub\\dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.\n",
47-
" _np_quint8 = np.dtype([(\"quint8\", np.uint8, 1)])\n",
48-
"D:\\dev_tools\\Anaconda3_2019.07\\envs\\tensorflow\\lib\\site-packages\\tensorboard\\compat\\tensorflow_stub\\dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.\n",
49-
" _np_qint16 = np.dtype([(\"qint16\", np.int16, 1)])\n",
50-
"D:\\dev_tools\\Anaconda3_2019.07\\envs\\tensorflow\\lib\\site-packages\\tensorboard\\compat\\tensorflow_stub\\dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.\n",
51-
" _np_quint16 = np.dtype([(\"quint16\", np.uint16, 1)])\n",
52-
"D:\\dev_tools\\Anaconda3_2019.07\\envs\\tensorflow\\lib\\site-packages\\tensorboard\\compat\\tensorflow_stub\\dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.\n",
53-
" _np_qint32 = np.dtype([(\"qint32\", np.int32, 1)])\n",
54-
"D:\\dev_tools\\Anaconda3_2019.07\\envs\\tensorflow\\lib\\site-packages\\tensorboard\\compat\\tensorflow_stub\\dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.\n",
55-
" np_resource = np.dtype([(\"resource\", np.ubyte, 1)])\n"
19+
"2.0.0\n"
5620
]
5721
}
5822
],
@@ -63,7 +27,7 @@
6327
},
6428
{
6529
"cell_type": "code",
66-
"execution_count": 3,
30+
"execution_count": 2,
6731
"metadata": {},
6832
"outputs": [
6933
{
@@ -80,6 +44,7 @@
8044
" '__package__',\n",
8145
" '__path__',\n",
8246
" '__spec__',\n",
47+
" '_sys',\n",
8348
" 'as_dtype',\n",
8449
" 'bfloat16',\n",
8550
" 'bool',\n",
@@ -111,7 +76,7 @@
11176
" 'variant']"
11277
]
11378
},
114-
"execution_count": 3,
79+
"execution_count": 2,
11580
"metadata": {},
11681
"output_type": "execute_result"
11782
}
@@ -122,7 +87,7 @@
12287
},
12388
{
12489
"cell_type": "code",
125-
"execution_count": 4,
90+
"execution_count": 3,
12691
"metadata": {},
12792
"outputs": [
12893
{
@@ -137,8 +102,10 @@
137102
" '__package__',\n",
138103
" '__path__',\n",
139104
" '__spec__',\n",
105+
" '_sys',\n",
140106
" 'all_candidate_sampler',\n",
141107
" 'categorical',\n",
108+
" 'experimental',\n",
142109
" 'fixed_unigram_candidate_sampler',\n",
143110
" 'gamma',\n",
144111
" 'learned_unigram_candidate_sampler',\n",
@@ -156,7 +123,7 @@
156123
" 'uniform_candidate_sampler']"
157124
]
158125
},
159-
"execution_count": 4,
126+
"execution_count": 3,
160127
"metadata": {},
161128
"output_type": "execute_result"
162129
}
@@ -174,7 +141,7 @@
174141
},
175142
{
176143
"cell_type": "code",
177-
"execution_count": 6,
144+
"execution_count": 4,
178145
"metadata": {},
179146
"outputs": [
180147
{
@@ -213,7 +180,7 @@
213180
},
214181
{
215182
"cell_type": "code",
216-
"execution_count": 7,
183+
"execution_count": 5,
217184
"metadata": {},
218185
"outputs": [
219186
{
@@ -224,7 +191,7 @@
224191
" [1, 1, 1]])>"
225192
]
226193
},
227-
"execution_count": 7,
194+
"execution_count": 5,
228195
"metadata": {},
229196
"output_type": "execute_result"
230197
}
@@ -236,9 +203,9 @@
236203
],
237204
"metadata": {
238205
"kernelspec": {
239-
"display_name": "tensorflow",
206+
"display_name": "tf2.0",
240207
"language": "python",
241-
"name": "tensorflow"
208+
"name": "tf2.0"
242209
},
243210
"language_info": {
244211
"codemirror_mode": {
@@ -250,7 +217,7 @@
250217
"name": "python",
251218
"nbconvert_exporter": "python",
252219
"pygments_lexer": "ipython3",
253-
"version": "3.5.6"
220+
"version": "3.7.4"
254221
}
255222
},
256223
"nbformat": 4,

0 commit comments

Comments
 (0)