2019年11月27日
摘要: tf.one_hot(indices, depth, on_value, off_value, axis) indices是一个列表,指定张量中独热向量的独热位置,或者说indeces是非负整数表示的标签列表。len(indices)就是分类的类别数。 tf.one_hot返回的张量的阶数为inde 阅读全文
posted @ 2019-11-27 09:56 Luaser 阅读(670) 评论(0) 推荐(0) 编辑