- Mastering TensorFlow 1.x
- Armando Fandango
- 105字
- 2021-06-25 22:50:56
Populating tensor elements with a random distribution
TensorFlow provides us with the functions to generate tensors filled with random valued distributions.
The distributions generated are affected by the graph-level or the operation-level seed. The graph-level seed is set using tf.set_random_seed, while the operation-level seed is given as the argument seed in all of the random distribution functions. If no seed is specified, then a random seed is used.
More details on random seeds in TensorFlow can be found at the following link: https://www.tensorflow.org/api_docs/python/tf/set_random_seed.
The following table lists some of the tensor generating functions to populate elements of the tensor with random valued distributions:

推薦閱讀
- 觸摸屏實用技術與工程應用
- Instant uTorrent
- FPGA從入門到精通(實戰篇)
- Android NDK Game Development Cookbook
- 電腦組裝與維修從入門到精通(第2版)
- 精選單片機設計與制作30例(第2版)
- Artificial Intelligence Business:How you can profit from AI
- OUYA Game Development by Example
- 固態存儲:原理、架構與數據安全
- 單片機系統設計與開發教程
- 計算機組裝維修與外設配置(高等職業院校教改示范教材·計算機系列)
- LPC1100系列處理器原理及應用
- 圖解計算機組裝與維護
- 單片微機原理及應用
- Arduino項目開發:智能生活