Esempio n. 1
0
 def load_data_batch(self, attrs_batch, stages_batch):
     """load data into model"""
     set_shared(self.attributes, attrs_batch)
     set_shared(self.disease_stages, stages_batch)
Esempio n. 2
0
 def set_data_batch(self,attrs_batch,categories_batch):
     """load data into model"""
     set_shared(self.attributes,attrs_batch)
     set_shared(self.categories,categories_batch)