import tensorflow as tf

reader = tf.train.NewCheckpointReader("./model.ckpt")

variables = reader.get_variable_to_shape_map()

for v in variables:
w = reader.get_tensor(v)
print(type(w))
# print(w.shape)
# print (w[0])
print(w)