예제 #1
0
파일: sh.py 프로젝트: hedes1992/hdidx
 def set_storage(self, storage_type='mem', storage_parm=None):
     self.storage = createStorage(storage_type, storage_parm)
예제 #2
0
 def set_storage(self, storage_type="mem", storage_parm=None):
     if storage_parm is None:
         storage_parm = dict()
     storage_parm["num_idx"] = self.encoder.ecdat["coarsek"]
     self.storage = createStorage(storage_type, storage_parm)
예제 #3
0
파일: vq.py 프로젝트: xdTin/hdidx
 def set_storage(self, storage_type='mem', storage_parm=None):
     if storage_parm is None:
         storage_parm = dict()
     storage_parm['num_idx'] = self.encoder.ecdat['coarsek']
     self.storage = createStorage(storage_type, storage_parm)
예제 #4
0
파일: hamming.py 프로젝트: xdTin/hdidx
 def set_storage(self, storage_type='mem', storage_parm=None):
     self.storage = createStorage(storage_type, storage_parm)
예제 #5
0
파일: pq.py 프로젝트: hedes1992/hdidx
 def set_storage(self, storage_type='mem', storage_parm=None):
     storage_parm['coarsek'] = self.encoder.ecdat['coarsek']
     self.storage = createStorage(storage_type, storage_parm)