code: def rand_init(shape, dtype):
      return F.tensor(
          (np.random.randint(0, 100, size=shape) > 30), dtype=dtype
      )
  
imports: import json
  import os
  from itertools import product
  import dgl
  import dgl.backend
  import numpy
  from dgl.distributed import edge_split, load_partition_book, node_split
label_desc: Use image node_id 3 for calling a global function with example usage: rand_init(shape, dtype) and returns: F