code: def test_pad_data_explicit_edges(num_nodes, num_edges, add_pad_mask):
      data = fake_data()
      transform = Pad(
          max_num_nodes=num_nodes,
          max_num_edges=num_edges,
          add_pad_mask=add_pad_mask,
      )
  
      out = transform(data)
      _check_data(
          data,
          out,
          num_nodes,
          num_edges,
          is_mask_available=add_pad_mask,
      )
  
imports: import numbers
  from typing import Dict, Generator, List, Optional, Tuple, Union
  import pytest
  import torch
  from torch_geometric.data import Data, HeteroData
  from torch_geometric.datasets import FakeDataset, FakeHeteroDataset
  from torch_geometric.transforms import Pad
  from torch_geometric.transforms.pad import AttrNamePadding, EdgeTypePadding, NodeTypePadding, Padding, UniformPadding
  from torch_geometric.typing import EdgeType, NodeType
label_desc: Use image node_id 14 for calling a global function with example usage: test_pad_data_explicit_edges(num_nodes, num_edges, add_pad_mask) without return types