def METHOD_NAME(model, loss_fn, batch, dataset):
    graph_list, x, y = batch
    x = paddle.to_tensor(x, dtype='float32')
    y = paddle.to_tensor(y, dtype='int64')
    graph_list = [(item[0].tensor(), paddle.to_tensor(item[2]))
                  for item in graph_list]
    out = model(graph_list, x)
    return loss_fn(out, y)