摘要: 1.tf.sort(tensor,direction='DESCENDING'):将tensor的每一行元素按升序或倒序排列,有direction='DESCENDING'时为降序,不写时为升序 example: input: import tensorflow as tfa=tf.random.s 阅读全文
posted @ 2020-10-20 22:14 ladadee 阅读(228) 评论(0) 推荐(0)