class_docstr: Class providing an artificial backend, that reads data into memory.
class_docstr_tok: ["Class","providing","an","artificial","backend",",","that","reads","data","into","memory","."]
docstr: Loads the data specified by ``name`` and keep it in the loaded dictionary.
  
  Used to load filter datasets.
  
  Parameters
  ----------
  source: ndarray or str
       Data source to load data from.
  name: str
       Name of the dataset to be loaded.
  
  Returns
  -------
  Loaded data : ndarray
       Numpy array containing loaded data indexed according to mapper.
docstr_tok: ["Loads","the","data","specified","by","``","name","``","and","keep","it","in","the","loaded","dictionary",".","Used","to","load","filter","datasets",".","Parameters","--","--","--","--","--","source",":","ndarray","or","str","Data","source","to","load","data","from",".","name",":","str","Name","of","the","dataset","to","be","loaded",".","Returns","--","--","--","-","Loaded","data",":","ndarray","Numpy","array","containing","loaded","data","indexed","according","to","mapper","."]
code: def get_source(self, source, name):
      """Loads the data specified by ``name`` and keep it in the loaded dictionary.
  
      Used to load filter datasets.
  
      Parameters
      ----------
      source: ndarray or str
           Data source to load data from.
      name: str
           Name of the dataset to be loaded.
  
      Returns
      -------
      Loaded data : ndarray
           Numpy array containing loaded data indexed according to mapper.
      """
      if name not in self.sources:
          if isinstance(source, np.ndarray):
              raw_data = source
          else:
              identifier = DataSourceIdentifier(source)
              loader = identifier.fetch_loader()
              raw_data = loader(source)
          if name != "train-org":
              self.sources[name] = self.mapper.get_indexes(raw_data)
          else:
              self.sources[name] = raw_data
      return self.sources[name]
  
imports: import logging
  import tempfile
  import uuid
  from datetime import datetime
  import numpy
  import pandas
  import tensorflow
  from .data_indexer import DataIndexer
  from .source_identifier import DataSourceIdentifier
label_desc: Use image node_id 11 for calling the NoBackend obj's underlying member method code with example usage: obj.get_source(source, name) and returns: self