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

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:

主站蜘蛛池模板: 竹溪县| 奉新县| 巩留县| 青海省| 炎陵县| 西丰县| 庐江县| 巨鹿县| 淮北市| 兰州市| 莲花县| 左云县| 綦江县| 错那县| 乌兰浩特市| 炉霍县| 云霄县| 曲周县| 阿勒泰市| 宁波市| 青海省| 邹城市| 林口县| 凤庆县| 武汉市| 海原县| 沂源县| 西乡县| 出国| 新安县| 崇仁县| 丰顺县| 闸北区| 杭州市| 敖汉旗| 临高县| 龙川县| 安义县| 扶余县| 蓬安县| 汉阴县|