Ejemplo 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)
Ejemplo 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)