Tensorflow的函数们
KAila_Lucky
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
tf.summary.FileWriter()用法
来源:https://tensorflow.google.cn/api_docs/python/tf/summary/FileWriter Writes Summary protocol buffers to event files. The FileWriter class provides a mechanism to create an event file in a given dir...转载 2018-11-21 10:35:31 · 7258 阅读 · 0 评论 -
tf.reshape()的用法
来自https://tensorflow.google.cn/versions/r1.15/api_docs/python/tf/reshape tf.reshape( tensor, shape, name=None ) Giventensor, this operation returns a tensor that has the same values a...原创 2019-09-28 20:07:38 · 1174 阅读 · 0 评论 -
tf.random_normal() 用法
tf.random_normal( shape, mean=0.0, stddev=1.0, dtype=tf.float32, seed=None, name=None ) Outputs random values from a normal distribution. 输出服从正态分布的随机值。 Args: shape: A 1-D ...原创 2019-03-27 09:53:30 · 1201 阅读 · 0 评论 -
tf.reduce_sum()的用法
来源TensorFlow官网 tf.math.reduce_sum( input_tensor, axis=None, keepdims=None, name=None, reduction_indices=None, keep_dims=None ) Computes the sum of elements across dimensions...转载 2018-12-21 15:55:52 · 929 阅读 · 0 评论 -
tf.squared_difference()用法
From TensorFlow官网: tf.math.squared_difference( x, y, name=None ) Returns (x - y)(x - y) element-wise. 返回值:(x-y)的平方转载 2018-12-21 15:32:15 · 3814 阅读 · 0 评论 -
tf.dynamic_partition()用法
转自TensorFlow官网 tf.dynamic_partition( data, partitions, num_partitions, name=None ) Partitions data into num_partitions tensors using indices from partitions. 使用分区中的索引将数据分区到num_part...转载 2018-12-21 15:28:12 · 1685 阅读 · 0 评论 -
tf.assign()用法
转自TensorFlow官网 tf.assign( ref, value, validate_shape=None, use_locking=None, name=None ) Update 'ref' by assigning 'value' to it 通过给‘ref’分配‘value’完成‘ref’的更新。 This operation o...转载 2018-12-21 10:53:22 · 276 阅读 · 0 评论 -
tf.clip_by_value()用法
来源:https://tensorflow.google.cn/api_docs/python/tf/clip_by_value tf.clip_by_value( t, clip_value_min, clip_value_max, name=None ) Clips tensor values to a specified min and max. 把T...转载 2018-11-21 10:34:59 · 289 阅读 · 0 评论 -
tf.random.truncated_normal()用法——截断正态分布
来自https://tensorflow.google.cn/versions/r1.15/api_docs/python/tf/random/truncated_normal?hl=en Outputs random values from a truncated normal distribution. 此函数别名有: tf.compat.v1.random.truncated_norm...原创 2019-09-28 20:37:23 · 8158 阅读 · 0 评论
分享