标签:with ESS 个数 ssi 数组 import 统计 on() nump
import numpy as np
import tensorflow as tf
A = [1,3,4,5,6,1,2,3,4,5]
B = [1,3,4,3,2,2,2,3,4,3]
with tf.Session() as sess:
a=sess.run(tf.equal(A, B))
b=a.tolist().count(True)
print(a.tolist())
print(b)
标签:with ESS 个数 ssi 数组 import 统计 on() nump
原文地址:https://www.cnblogs.com/Ann21/p/11107864.html