Kmeans2.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:Tensorflow-Turitors 作者: Xls1994 项目源码 文件源码
def bucket_mean(data, bucket_ids, num_buckets):
    total = tf.unsorted_segment_sum(data, bucket_ids, num_buckets)
    count = tf.unsorted_segment_sum(tf.ones_like(data), bucket_ids, num_buckets)
    return total / count
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号