class_docstr: Duck-typed version of PyG's GraphStore and FeatureStore.
class_docstr_tok: ["Duck-typed","version","of","PyG","'s","GraphStore","and","FeatureStore","."]
docstr: Inverse of _get_vertex_groups_from_sample() (although with de-offsetted ids).
  Given a dictionary of node types and de-offsetted node ids, return
  the global (non-renumbered) vertex ids.
  
  Example Input: {'horse': [1, 3, 5], 'duck': [1, 2]}
  Output: [1, 3, 5, 14, 15]
docstr_tok: ["Inverse","of","_get_vertex_groups_from_sample","(",")","(","although","with","de-offsetted","ids",")",".","Given","a","dictionary","of","node","types","and","de-offsetted","node","ids",",","return","the","global","(","non-renumbered",")","vertex","ids",".","Example","Input",":","{","'horse","'",":","[","1",",","3",",","5","]",",","'duck","'",":","[","1",",","2","]","}","Output",":","[","1",",","3",",","5",",","14",",","15","]"]
code: def _get_sample_from_vertex_groups(
      self, vertex_groups: Dict[str, TensorType]
  ) -> TensorType:
      """
      Inverse of _get_vertex_groups_from_sample() (although with de-offsetted ids).
      Given a dictionary of node types and de-offsetted node ids, return
      the global (non-renumbered) vertex ids.
  
      Example Input: {'horse': [1, 3, 5], 'duck': [1, 2]}
      Output: [1, 3, 5, 14, 15]
      """
      t = torch.tensor([], dtype=torch.int64, device="cuda")
  
      for group_name, ix in vertex_groups.items():
          type_id = self._numeric_vertex_type_from_name(group_name)
          if not ix.is_cuda:
              ix = ix.cuda()
          offset = self.__vertex_type_offsets["start"][type_id]
          u = ix + offset
          t = torch.concatenate([t, u])
  
      return t
  
imports: from typing import Optional, Tuple, Any, Union, List, Dict
  from enum import Enum, auto
  from dataclasses import dataclass
  from collections import defaultdict
  from itertools import chain
  from functools import cached_property
  import numpy
  import cupy
  import pandas
  import cudf
  import cugraph
  import warnings
  import dask.array
  import dask.dataframe
  import dask.distributed
  import dask_cudf
  from cugraph.utilities.utils import import_optional, MissingModule
label_desc: Use image node_id 22 for calling the CuGraphStore obj's underlying member method code with example usage: obj._get_sample_from_vertex_groups(vertex_groups) and returns: t