My data is of shape batch_size * num_paths * num_edges * emb_dim. Here:
batch_size * num_paths * num_edges * emb_dim
batch_size
num_paths