code: def from_data(cls, data):
      ms_data = cls()
      for k, item in data:
          ms_data[k] = item
      return ms_data
  
file_path: torch-points3d/torch_points3d/datasets/multiscale_data.py
imports: from typing import List, Optional
  import torch
  import copy
  import torch_geometric
  from torch_geometric.data import Data
  from torch_geometric.data import Batch
label_desc: Use image node_id 5 for calling the MultiScaleData obj's underlying member method code with example usage: obj.from_data(cls, data) and returns: ms_data