class_docstr: PoolTest
      
class_docstr_tok: ["PoolTest"]
docstr: pgl.nn.GraphMultisetTransformer test
          
docstr_tok: ["pgl.nn.GraphMultisetTransformer","test"]
code: def test_gmt(self):
      """pgl.nn.GraphMultisetTransformer test"""
      num_nodes = 5
      edges = [(0, 1), (1, 2), (3, 4)]
      nfeat = np.random.randn(num_nodes, 12).astype("float32")
  
      g_1 = pgl.Graph(
          edges=edges, num_nodes=num_nodes, node_feat={"nfeat": nfeat}
      )
      edges = [(0, 1), (1, 2), (3, 4), (5, 2), (0, 5)]
      nfeat = np.random.randn(num_nodes + 1, 12).astype("float32")
      g_2 = pgl.Graph(
          edges=edges,
          num_nodes=num_nodes + 1,
          node_feat={"nfeat": nfeat},
      )
      g = pgl.Graph.disjoint([g_1, g_2]).tensor()
      gmt = GraphMultisetTransformer(12, 12, 12, num_nodes=5)
      output = gmt(g, g.node_feat["nfeat"])
      self.assertAlmostEqual(output.shape[0], g.num_graph)
  
imports: import os
  import sys
  import re
  import time
  import unittest
  import numpy
  import math
  import paddle
  import pgl
  from pgl.utils.logger import log
  from pgl.math import segment_sum
  from pgl.nn import Set2Set, GlobalAttention, SAGPool, GraphPool
  from pgl.nn import GraphMultisetTransformer
label_desc: Use image node_id 3 for calling the PoolTest obj's underlying member method code with example usage: obj.test_gmt() without return types