I have a 1D Tensor.
So when I call
print(session.run(labels))
I get [0, 1, 0 ... , 0 1 0]
It's a list of about 1500 values, how do I print the entire list without writing a loop?
I have a 1D Tensor.
So when I call
print(session.run(labels))
I get [0, 1, 0 ... , 0 1 0]
It's a list of about 1500 values, how do I print the entire list without writing a loop?
Printing session.run() will output as a numpy array.
You can set the print option as follows:
import numpy
numpy.set_printoptions(threshold=numpy.nan)