Actually I read a file which contains graph and divide every row of tensor/array by its sum. I have absolutely no idea what is going on. When I debug the code, the value of tensor and array are the same (one example is what I’ve written). I just run code for K=5.