示例#1
0
 def optimize(self):
     """
     Do an optimization. 
     """
     jmodel = callJavaFunc(SparkContext.getOrCreate(), self.value.optimize)
     from nn.layer import Model
     return Model.of(jmodel)
示例#2
0
 def optimize(self):
     """
     Do an optimization. 
     """
     jmodel = callJavaFunc(SparkContext.getOrCreate(), self.value.optimize)
     from nn.layer import Model
     return Model.of(jmodel)
示例#3
0
 def optimize(self):
     """
     Do an optimization. 
     """
     jmodel = callJavaFunc(get_spark_context(), self.value.optimize)
     from nn.layer import Model
     return Model.of(jmodel)