def convert(self, x): if self.gpu: try: return LayeredRnnGenotype.compileGpu(x) except: import traceback traceback.print_exc() raise else: return LayeredRnnGenotype.compile(x)
def convert(self, x): return LayeredRnnGenotype.compile(x)