Independence idx=1046 # independence idx: the picture out random serial number is 1046
[img=mnist. Test. Images independence idx]
The count=0
For I in img:
Print (" % 3 d "% (int (I * 255)), end=" ")
Count +=1
If (28 count %==0) :
Print (end="\ n")