File "tensorflow/python/framework/fast_tensor_util.pyx", line 59, in tensorflow.python.framework.fast_tensor_util.AppendInt64ArrayToTensorProto ValueError: Buffer has wrong number of dimensions (expected 1, got 2)
adj = adj.tocoo() indices = np.mat([adj.row, adj.col]).transpose() A_out = tf.sparse.softmax(tf.SparseTensor(indices, self.softmax_values, dense_shape=adj.shape))
提示内存错误
解决办法重新检查代码,送进来的indices或者self.softmax_values中不存在值,为空



