I am getting the error TypeError: 'function' object is not subscriptable. I am trying to implement gnn on the mnist dataset and then visualize the graph generated.
I tried using square brackets at the end as i read on some websites but it did not help