lists = tf.ones((2000,2000))
import numpy as np
np.set_printoptions(threshold=20000)
print(np.array(lists))
注意这里np.set_printoptions解除输出限制了之后,一定要以numpy的形式输出,如果不为numpy的情况下转为numpy
lists = tf.ones((2000,2000))
import numpy as np
np.set_printoptions(threshold=20000)
print(np.array(lists))
注意这里np.set_printoptions解除输出限制了之后,一定要以numpy的形式输出,如果不为numpy的情况下转为numpy