print tensor int values pytorch code example Example: print value of tensor with tf.Session() as sess: print(product.eval())