class_docstr: This class implements the :class:`torch_geometric.data.FeatureStore`
  interface to act as a local feature store for distributed training.
docstr: Lookup of local/remote features.
docstr_tok: ["Lookup","of","local\/remote","features","."]
code: def lookup_features(
      self,
      index: Tensor,
      is_node_feat: bool = True,
      input_type: Optional[NodeOrEdgeType] = None,
  ) -> torch.futures.Future:
      r"""Lookup of local/remote features."""
      remote_fut = self._remote_lookup_features(
          index, is_node_feat, input_type
      )
      local_feature = self._local_lookup_features(
          index, is_node_feat, input_type
      )
      res_fut = torch.futures.Future()
  
      def when_finish(*_):
          try:
              remote_feature_list = remote_fut.wait()
              # combine the feature from remote and local
              result = torch.zeros(
                  index.size(0),
                  local_feature[0].size(1),
                  dtype=local_feature[0].dtype,
              )
              result[local_feature[1]] = local_feature[0]
              for remote in remote_feature_list:
                  result[remote[1]] = remote[0]
          except Exception as e:
              res_fut.set_exception(e)
          else:
              res_fut.set_result(result)
  
      remote_fut.add_done_callback(when_finish)
      return res_fut
  
imports: import copy
  import json
  import os.path
  from dataclasses import dataclass
  from typing import Any, Dict, List, Optional, Tuple, Union
  import torch
  from torch import Tensor
  from torch_geometric.data import FeatureStore, TensorAttr
  from torch_geometric.data.feature_store import _FieldStatus
  from torch_geometric.distributed.rpc import RPCCallBase, RPCRouter, rpc_async, rpc_register
  from torch_geometric.typing import EdgeType, NodeOrEdgeType, NodeType
label_desc: Use image node_id 15 for calling the LocalFeatureStore obj's underlying member method code with example usage: obj.lookup_features(index, is_node_feat, input_type) and returns: res_fut