code: def train_index(self) -> _typing.Optional[_typing.AbstractSet[int]]:
      return self.__train_index
  
imports: import typing
label_desc: Use image node_id 12 for calling the InMemoryDataset obj's underlying member method code with example usage: obj.train_index() and returns: self