- TensorFlow Machine Learning Cookbook
- Nick McClure
- 105字
- 2021-04-02 20:36:26
Conventions
In this book, there are many styles of text that distinguish between the types of information. Code words in text are shown as follows: "We then set the batch_size
variable."
A block of code is set as follows:
embedding_mat = tf.Variable(tf.random_uniform([vocab_size, embedding_size], -1.0, 1.0)) embedding_output = tf.nn.embedding_lookup(embedding_mat, x_data_ph)
Some code blocks will have output associated with that code, and we note this in the code block as follows:
print('Training Accuracy: {}'.format(accuracy))
Which results in the following output:
Training Accuracy: 0.878171
Important words are shown in bold.
推薦閱讀
- Protel DXP 2004 SP2原理圖與PCB設(shè)計
- VoLTE端到端業(yè)務(wù)詳解
- 通信工程設(shè)計
- Android應(yīng)用開發(fā)從入門到精通
- 電力通信光纜施工實訓(xùn)教程
- 5G系統(tǒng)技術(shù)原理與實現(xiàn)
- 信號完整性分析與設(shè)計
- WCDMA無線系統(tǒng)原理及設(shè)備維護(華為版)
- 新型航空遙感數(shù)據(jù)產(chǎn)品生產(chǎn)技術(shù)
- 妙用微信微博就讀它
- 物聯(lián)網(wǎng)無線傳感器網(wǎng)絡(luò)技術(shù)與應(yīng)用(ZigBee版)
- PLC通信協(xié)議及編程
- 電工與電子技術(shù)及技能訓(xùn)練
- BREW進階與精通
- 第三代移動通信技術(shù)(第2版)