def setUp(self):
     super(DynamicEmbeddingNeighborCacheTest, self).setUp()
     self._config = test_util.default_de_config(2)
     self._service_server = test_util.start_kbs_server()
 def setUp(self):
     super(DynamicMemoryOpsTest, self).setUp()
     self._config = test_util.default_de_config(2)
     self._service_server = test_util.start_kbs_server()
     self._kbs_address = 'localhost:%d' % self._service_server.port()
     context.clear_all_collection()
Exemple #3
0
 def setUp(self):
     super(FeatureEmbeddingTest, self).setUp()
     self._config = test_util.default_de_config(2)
     self._service_server = test_util.start_kbs_server()
     self._kbs_address = 'localhost:%d' % self._service_server.port()
 def setUp(self):
   super(DynamicNormalizationTest, self).setUp()
   self._service_server = test_util.start_kbs_server()
   self._kbs_address = 'localhost:%d' % self._service_server.port()
   context.clear_all_collection()
Exemple #5
0
 def setUp(self):
     super(CandidateSamplingOpsTest, self).setUp()
     self._service_server = test_util.start_kbs_server()
     self._kbs_address = 'localhost:%d' % self._service_server.port()
     context.clear_all_collection()