官术网_书友最值得收藏!

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:

主站蜘蛛池模板: 朔州市| 华宁县| 临湘市| 马公市| 泾川县| 武义县| 惠来县| 宣城市| 龙里县| 大埔县| 尤溪县| 东平县| 介休市| 南汇区| 余干县| 荥经县| 门源| 偃师市| 南宁市| 余姚市| 鹤庆县| 百色市| 四平市| 卓资县| 涿州市| 阿尔山市| 高邮市| 安图县| 扶绥县| 青阳县| 商南县| 惠水县| 义马市| 林西县| 南华县| 磴口县| 黔江区| 理塘县| 阳东县| 略阳县| 丰城市|